# #1f3a0c color: Melancholia

#1f3a0c is rgb(31, 58, 12) in RGB and oklch(31.551% 0.07814 134.955) in OKLCH. Every other format, shade and contrast value is below.

Source: https://pickshade.com/color/1f3a0c

## Formats

| Format | Value |
| --- | --- |
| HEX | #1f3a0c |
| RGB | rgb(31, 58, 12) |
| HSL | hsl(95.22, 65.71%, 13.73%) |
| HSB / HSV | hsv(95.22 79.31% 22.75%) |
| HWB | hwb(95.22 4.71% 77.25%) |
| CMYK | cmyk(47% 0% 79% 77%) |
| Lab | lab(21.43 -17.85 23.88) |
| LCH | lch(21.43 29.82 126.77) |
| OKLab | oklab(31.551% -0.05521 0.05529) |
| OKLCH | oklch(31.551% 0.07814 134.955) |
| Display P3 | color(display-p3 0.14636 0.22479 0.0756) |
| Rec. 2020 | color(rec2020 0.10079 0.15865 0.03259) |
| Adobe RGB | color(a98-rgb 0.17577 0.23738 0.09204) |
| ProPhoto RGB | color(prophoto-rgb 0.11919 0.16352 0.07024) |
| Linear sRGB | color(srgb-linear 0.0137 0.04231 0.00368) |
| XYZ D65 | color(xyz-d65 0.02144 0.03344 0.0088) |
| XYZ D50 | color(xyz-d50 0.0228 0.0336 0.00692) |
| SwiftUI | Color(red: 0.122, green: 0.227, blue: 0.047) |
| UIKit | UIColor(red: 0.122, green: 0.227, blue: 0.047, alpha: 1) |
| Flutter / Compose | Color(0xFF1F3A0C) |
| Android XML | #1F3A0C |

## Facts

- Closest name: Melancholia
- Hue family: Lime, soft dark lime
- Closest Tailwind class: lime-950
- Gamut: Inside sRGB: displays the same on any screen.
- Contrast with white: 12.58:1
- Contrast with black: 1.67:1

## Tints

#1f3a0c, #334c24, #475e3a, #5c7151, #718468, #87977f, #9eab98, #b6c0b1, #ced4ca, #e6eae4

## Shades

#1f3a0c, #193109, #142806, #0f2004, #0a1803, #061002, #030901, #010400, #000100, #000000

## Tones

#1f3a0c, #213912, #233916, #25381b, #27371e, #293622, #2b3525, #2d3529, #2e342c, #30332f

## Harmonies

- Complementary: #1f3a0c, #40244d
- Split: #1f3a0c, #2e2a57, #4c1f3b
- Analogous: #1f3a0c, #383300, #003e27
- Triadic: #1f3a0c, #123258, #521e25
- Tetradic: #1f3a0c, #003c3d, #40244d, #521e25
- Square: #1f3a0c, #00394f, #40244d, #51220a
- Monochromatic: #1f3a0c, #000900, #031c00, #3e5b2d, #5f7e4e

## Questions about #1f3a0c

### What color is #1f3a0c?

#1f3a0c is soft dark lime. The closest named color is Melancholia. In RGB it is rgb(31, 58, 12), in HSL hsl(95.22, 65.71%, 13.73%) and in OKLCH oklch(31.551% 0.07814 134.955).

### What colors go well with #1f3a0c?

The complementary color of #1f3a0c is #40244d. For a calmer combination use the analogous colors #383300 and #003e27. The triadic partners are #123258 and #521e25.

### Is white or black text more readable on #1f3a0c?

White text reads better on #1f3a0c: white gives a contrast ratio of 12.58:1 and black gives 1.67:1. WCAG AA asks for at least 4.5:1 for body text.

### Is #1f3a0c a warm or cool color?

#1f3a0c is a neutral color. In OKLCH its hue is 135 degrees, its lightness 31.6% and its chroma 0.078.
