#1F4D0F#1F4D0F
#1F4D0F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.4% C 0.104 H 139.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #1F4D0F |
|---|---|
| RGB | rgb(31, 77, 15) |
| HSL | hsl(105, 67%, 18%) |
| HSV | hsv(105, 81%, 30%) |
| CMYK | cmyk(59.7%, 0%, 80.5%, 69.8%) |
| CIE-LAB | lab(28.47, -28.47, 30.21) |
| CIE-LCH | lch(28.47, 41.51, 133.31°) |
| OKLab | oklab(37.39% -0.0784 0.0682) |
| OKLCH | oklch(37.39% 0.104 139) |
| XYZ | xyz(3.3050, 5.6333, 1.3650) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Bottle Green
#044A05
ΔE00 2.72
Darkgreen (survey)
#054907
ΔE00 2.73
Forrest Green
#154406
ΔE00 2.83
British Racing Green
#05480D
ΔE00 3.11
Forest Green (survey)
#06470C
ΔE00 3.15
Racing Green
#014600
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F4D0F #3D0F4D
analogous
#3E4D0F #1F4D0F #0F4D1E
triadic
#1F4D0F #0F1F4D #4D0F1F
tetradic
#1F4D0F #0F3E4D #3D0F4D #4D1E0F
square
#1F4D0F #0F3E4D #3D0F4D #4D1E0F
split-complementary
#1F4D0F #1E0F4D #4D0F3E
monochromatic
#0A1A05 #0A1A05 #1F4D0F #348019 #48B323
Accessibility & contrast
On white
9.87
#1F4D0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#1F4D0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F4D0F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F4D0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F4D0F | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504605
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#1B4A41
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #1f4d0f; /* rgb */ color: rgb(31, 77, 15); /* oklch */ color: oklch(37.4% 0.104 139.0);
Tailwind
colors: {
custom: {
50: '#617f52',
500: '#1f4d0f',
950: '#000000',
},
}SCSS
$custom: #1f4d0f; $custom-light: #617f52; $custom-dark: #000000;
JSON
{
"hex": "#1f4d0f",
"rgb": {
"r": 31,
"g": 77,
"b": 15
},
"hsl": {
"h": 104.516,
"s": 67.391,
"l": 18.039
},
"oklch": {
"l": 0.37389,
"c": 0.1039,
"h": 139
},
"luminance": 0.05634
}Semantic roles & 50–950 ramp
primary
#1F4D0F
secondary
#713187
accent
#3EEABE
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050A02
muted
#797C78