#18742F#18742F
#18742F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.133 H 147.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #18742F |
|---|---|
| RGB | rgb(24, 116, 47) |
| HSL | hsl(135, 66%, 27%) |
| HSV | hsv(135, 79%, 45%) |
| CMYK | cmyk(79.3%, 0%, 59.5%, 54.5%) |
| CIE-LAB | lab(42.60, -41.65, 30.37) |
| CIE-LCH | lch(42.60, 51.55, 143.90°) |
| OKLab | oklab(49.13% -0.1121 0.0723) |
| OKLCH | oklch(49.13% 0.133 147.2) |
| XYZ | xyz(7.1346, 12.8894, 4.8007) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.05
Jungle Green
#048243
ΔE00 5.45
Tree Green
#2A7E19
ΔE00 6.13
Darkgreen
#006400
ΔE00 7.06
Green
#008000
ΔE00 7.35
Dark Grass Green
#388004
ΔE00 8.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18742F #74185D
analogous
#2F7418 #18742F #18745D
triadic
#18742F #2F1874 #742F18
tetradic
#18742F #182F74 #74185D #745D18
square
#18742F #182F74 #74185D #745D18
split-complementary
#18742F #5D1874 #74182F
monochromatic
#05190A #0E411A #18742F #22A744 #32D55B
Accessibility & contrast
On white
5.87
#18742F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#18742F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18742F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18742F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18742F | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756928
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #18742f; /* rgb */ color: rgb(24, 116, 47); /* oklch */ color: oklch(49.1% 0.133 147.2);
Tailwind
colors: {
custom: {
50: '#669d6a',
500: '#18742f',
950: '#000000',
},
}SCSS
$custom: #18742f; $custom-light: #669d6a; $custom-dark: #000000;
JSON
{
"hex": "#18742f",
"rgb": {
"r": 24,
"g": 116,
"b": 47
},
"hsl": {
"h": 135,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.49127,
"c": 0.13334,
"h": 147.2
},
"luminance": 0.1289
}Semantic roles & 50–950 ramp
primary
#18742F
secondary
#A93F8F
accent
#3FBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A