#18741F#18741F
#18741F is a mid, vivid green. Relative luminance 0.128; OKLCH L 48.9% C 0.146 H 143.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #18741F |
|---|---|
| RGB | rgb(24, 116, 31) |
| HSL | hsl(125, 66%, 27%) |
| HSV | hsv(125, 79%, 45%) |
| CMYK | cmyk(79.3%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.43, -43.61, 37.76) |
| CIE-LCH | lch(42.43, 57.68, 139.11°) |
| OKLab | oklab(48.94% -0.118 0.0863) |
| OKLCH | oklch(48.94% 0.146 143.8) |
| XYZ | xyz(6.8690, 12.7831, 3.4014) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.23
Tree Green
#2A7E19
ΔE00 4.29
Green
#008000
ΔE00 5.29
Darkgreen
#006400
ΔE00 5.66
Dark Grass Green
#388004
ΔE00 6.78
Jungle Green
#048243
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18741F #74186D
analogous
#3F7418 #18741F #18744D
triadic
#18741F #1F1874 #741F18
tetradic
#18741F #183F74 #74186D #744D18
square
#18741F #183F74 #74186D #744D18
split-complementary
#18741F #4D1874 #74183F
monochromatic
#051907 #0E4111 #18741F #22A72D #32D53E
Accessibility & contrast
On white
5.90
#18741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#18741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18741F
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18741F | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#007163
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #18741f; /* rgb */ color: rgb(24, 116, 31); /* oklch */ color: oklch(48.9% 0.146 143.8);
Tailwind
colors: {
custom: {
50: '#669d60',
500: '#18741f',
950: '#000000',
},
}SCSS
$custom: #18741f; $custom-light: #669d60; $custom-dark: #000000;
JSON
{
"hex": "#18741f",
"rgb": {
"r": 24,
"g": 116,
"b": 31
},
"hsl": {
"h": 124.565,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.48941,
"c": 0.14621,
"h": 143.8
},
"luminance": 0.12784
}Semantic roles & 50–950 ramp
primary
#18741F
secondary
#A93FA1
accent
#3FDCE9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79