#18671F#18671F
#18671F is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.130 H 144.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #18671F |
|---|---|
| RGB | rgb(24, 103, 31) |
| HSL | hsl(125, 62%, 25%) |
| HSV | hsv(125, 77%, 40%) |
| CMYK | cmyk(76.7%, 0%, 69.9%, 59.6%) |
| CIE-LAB | lab(37.83, -38.94, 32.83) |
| CIE-LCH | lch(37.83, 50.93, 139.86°) |
| OKLab | oklab(45.12% -0.1053 0.0759) |
| OKLCH | oklch(45.12% 0.13 144.2) |
| XYZ | xyz(5.4739, 9.9930, 2.9364) |
| Luminance | 0.0999 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.47
Deep Green
#02590F
ΔE00 4.62
Forest
#0B5509
ΔE00 5.86
Forest Green
#2D5A27
ΔE00 5.90
Pine
#2B5D34
ΔE00 7.06
Darkish Green
#287C37
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18671F #671860
analogous
#396718 #18671F #186746
triadic
#18671F #1F1867 #671F18
tetradic
#18671F #183967 #671860 #674618
square
#18671F #183967 #671860 #674618
split-complementary
#18671F #461867 #671839
monochromatic
#061907 #0C3510 #18671F #24992E #2FCA3D
Accessibility & contrast
On white
7.00
#18671F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
3.00
#18671F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18671F
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18671F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18671F | 1.00 | 7.00 | 3.00 | 7.00 |
| #FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#605726
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #18671f; /* rgb */ color: rgb(24, 103, 31); /* oklch */ color: oklch(45.1% 0.130 144.2);
Tailwind
colors: {
custom: {
50: '#63935e',
500: '#18671f',
950: '#000000',
},
}SCSS
$custom: #18671f; $custom-light: #63935e; $custom-dark: #000000;
JSON
{
"hex": "#18671f",
"rgb": {
"r": 24,
"g": 103,
"b": 31
},
"hsl": {
"h": 125.316,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45119,
"c": 0.12986,
"h": 144.2
},
"luminance": 0.09994
}Semantic roles & 50–950 ramp
primary
#18671F
secondary
#9D3E95
accent
#43D7E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79