#1F460C#1F460C
#1F460C is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.2% C 0.096 H 137.6°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #1F460C |
|---|---|
| RGB | rgb(31, 70, 12) |
| HSL | hsl(100, 71%, 16%) |
| HSV | hsv(100, 83%, 27%) |
| CMYK | cmyk(55.7%, 0%, 82.9%, 72.5%) |
| CIE-LAB | lab(25.86, -25.60, 28.85) |
| CIE-LCH | lch(25.86, 38.57, 131.58°) |
| OKLab | oklab(35.23% -0.0709 0.0648) |
| OKLCH | oklch(35.23% 0.096 137.6) |
| XYZ | xyz(2.8215, 4.6980, 1.1059) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forrest Green
#154406
ΔE00 1.50
Hunter Green (survey)
#0B4008
ΔE00 3.01
Forest Green (survey)
#06470C
ΔE00 3.20
Darkgreen (survey)
#054907
ΔE00 3.35
British Racing Green
#05480D
ΔE00 3.39
Racing Green
#014600
ΔE00 3.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F460C #330C46
analogous
#3C460C #1F460C #0C4616
triadic
#1F460C #0C1F46 #460C1F
tetradic
#1F460C #0C3C46 #330C46 #46160C
square
#1F460C #0C3C46 #330C46 #46160C
split-complementary
#1F460C #160C46 #460C3C
monochromatic
#0C1A04 #0C1A04 #1F460C #367A15 #4DAE1E
Accessibility & contrast
On white
10.83
#1F460C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#1F460C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F460C
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F460C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F460C | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#493F03
Deuteranopia (green-blind)
#433C12
Tritanopia (blue-blind)
#1C433B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1f460c; /* rgb */ color: rgb(31, 70, 12); /* oklch */ color: oklch(35.2% 0.096 137.6);
Tailwind
colors: {
custom: {
50: '#5f7a4f',
500: '#1f460c',
950: '#000000',
},
}SCSS
$custom: #1f460c; $custom-light: #5f7a4f; $custom-dark: #000000;
JSON
{
"hex": "#1f460c",
"rgb": {
"r": 31,
"g": 70,
"b": 12
},
"hsl": {
"h": 100.345,
"s": 70.732,
"l": 16.078
},
"oklch": {
"l": 0.35232,
"c": 0.09607,
"h": 137.6
},
"luminance": 0.04698
}Semantic roles & 50–950 ramp
primary
#1F460C
secondary
#662C82
accent
#3AEDB3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050902
muted
#797B78