#1F4A0F#1F4A0F
#1F4A0F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.5% C 0.100 H 138.7°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4A0F |
|---|---|
| RGB | rgb(31, 74, 15) |
| HSL | hsl(104, 66%, 17%) |
| HSV | hsv(104, 80%, 29%) |
| CMYK | cmyk(58.1%, 0%, 79.7%, 71%) |
| CIE-LAB | lab(27.36, -27.15, 29.09) |
| CIE-LCH | lch(27.36, 39.79, 133.03°) |
| OKLab | oklab(36.48% -0.0749 0.0658) |
| OKLCH | oklch(36.48% 0.1 138.7) |
| XYZ | xyz(3.1000, 5.2231, 1.2967) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forrest Green
#154406
ΔE00 2.07
Darkgreen (survey)
#054907
ΔE00 2.77
Forest Green (survey)
#06470C
ΔE00 2.86
Bottle Green
#044A05
ΔE00 2.92
British Racing Green
#05480D
ΔE00 2.92
Racing Green
#014600
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4A0F #3A0F4A
analogous
#3C4A0F #1F4A0F #0F4A1D
triadic
#1F4A0F #0F1F4A #4A0F1F
tetradic
#1F4A0F #0F3C4A #3A0F4A #4A1D0F
square
#1F4A0F #0F3C4A #3A0F4A #4A1D0F
split-complementary
#1F4A0F #1D0F4A #4A0F3C
monochromatic
#0B1905 #0B1905 #1F4A0F #347D19 #4AB024
Accessibility & contrast
On white
10.27
#1F4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1F4A0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4A0F
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4A0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4A0F | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4306
Deuteranopia (green-blind)
#473F15
Tritanopia (blue-blind)
#1B473E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1f4a0f; /* rgb */ color: rgb(31, 74, 15); /* oklch */ color: oklch(36.5% 0.100 138.7);
Tailwind
colors: {
custom: {
50: '#607d52',
500: '#1f4a0f',
950: '#000000',
},
}SCSS
$custom: #1f4a0f; $custom-light: #607d52; $custom-dark: #000000;
JSON
{
"hex": "#1f4a0f",
"rgb": {
"r": 31,
"g": 74,
"b": 15
},
"hsl": {
"h": 103.729,
"s": 66.292,
"l": 17.451
},
"oklch": {
"l": 0.36478,
"c": 0.09967,
"h": 138.7
},
"luminance": 0.05223
}Semantic roles & 50–950 ramp
primary
#1F4A0F
secondary
#6E3084
accent
#3FE9BB
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78