#18671B#18671B
#18671B is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.1% C 0.133 H 143.4°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #18671B |
|---|---|
| RGB | rgb(24, 103, 27) |
| HSL | hsl(122, 62%, 25%) |
| HSV | hsv(122, 77%, 40%) |
| CMYK | cmyk(76.7%, 0%, 73.8%, 59.6%) |
| CIE-LAB | lab(37.79, -39.37, 34.60) |
| CIE-LCH | lch(37.79, 52.41, 138.69°) |
| OKLab | oklab(45.08% -0.1067 0.0792) |
| OKLCH | oklch(45.08% 0.133 143.4) |
| XYZ | xyz(5.4244, 9.9732, 2.6758) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.87
Deep Green
#02590F
ΔE00 4.58
Forest
#0B5509
ΔE00 5.77
Forest Green
#2D5A27
ΔE00 6.20
Darkish Green
#287C37
ΔE00 7.55
Pine
#2B5D34
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18671B #671864
analogous
#3D6718 #18671B #186742
triadic
#18671B #1B1867 #671B18
tetradic
#18671B #183D67 #671864 #674218
square
#18671B #183D67 #671864 #674218
split-complementary
#18671B #421867 #67183D
monochromatic
#061907 #0C350E #18671B #249928 #2FCA35
Accessibility & contrast
On white
7.01
#18671B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#18671B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18671B
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18671B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18671B | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D0F
Deuteranopia (green-blind)
#605722
Tritanopia (blue-blind)
#006458
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #18671b; /* rgb */ color: rgb(24, 103, 27); /* oklch */ color: oklch(45.1% 0.133 143.4);
Tailwind
colors: {
custom: {
50: '#63935c',
500: '#18671b',
950: '#000000',
},
}SCSS
$custom: #18671b; $custom-light: #63935c; $custom-dark: #000000;
JSON
{
"hex": "#18671b",
"rgb": {
"r": 24,
"g": 103,
"b": 27
},
"hsl": {
"h": 122.278,
"s": 62.205,
"l": 24.902
},
"oklch": {
"l": 0.45078,
"c": 0.13287,
"h": 143.4
},
"luminance": 0.09974
}Semantic roles & 50–950 ramp
primary
#18671B
secondary
#9D3E99
accent
#43DFE5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79