#1F6418#1F6418
#1F6418 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.129 H 141.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1F6418 |
|---|---|
| RGB | rgb(31, 100, 24) |
| HSL | hsl(114, 61%, 24%) |
| HSV | hsv(114, 76%, 39%) |
| CMYK | cmyk(69%, 0%, 76%, 60.8%) |
| CIE-LAB | lab(36.88, -37.05, 34.98) |
| CIE-LCH | lch(36.88, 50.96, 136.64°) |
| OKLab | oklab(44.36% -0.101 0.0795) |
| OKLCH | oklch(44.36% 0.129 141.8) |
| XYZ | xyz(5.2868, 9.4711, 2.4135) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.73
Deep Green
#02590F
ΔE00 3.93
Forest
#0B5509
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 5.45
Pine
#2B5D34
ΔE00 7.32
Navy Green
#35530A
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F6418 #5D1864
analogous
#456418 #1F6418 #186437
triadic
#1F6418 #181F64 #64181F
tetradic
#1F6418 #184564 #5D1864 #643718
square
#1F6418 #184564 #5D1864 #643718
split-complementary
#1F6418 #371864 #641845
monochromatic
#081906 #10330C #1F6418 #2E9524 #3EC730
Accessibility & contrast
On white
7.26
#1F6418 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#1F6418 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1F6418
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F6418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F6418 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675A0B
Deuteranopia (green-blind)
#5E5520
Tritanopia (blue-blind)
#116155
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #1f6418; /* rgb */ color: rgb(31, 100, 24); /* oklch */ color: oklch(44.4% 0.129 141.8);
Tailwind
colors: {
custom: {
50: '#65915a',
500: '#1f6418',
950: '#000000',
},
}SCSS
$custom: #1f6418; $custom-light: #65915a; $custom-dark: #000000;
JSON
{
"hex": "#1f6418",
"rgb": {
"r": 31,
"g": 100,
"b": 24
},
"hsl": {
"h": 114.474,
"s": 61.29,
"l": 24.314
},
"oklch": {
"l": 0.4436,
"c": 0.12854,
"h": 141.8
},
"luminance": 0.09472
}Semantic roles & 50–950 ramp
primary
#1F6418
secondary
#923E9A
accent
#43E4D6
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79