#18742E#18742E
#18742E is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.134 H 146.9°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #18742E |
|---|---|
| RGB | rgb(24, 116, 46) |
| HSL | hsl(134, 66%, 27%) |
| HSV | hsv(134, 79%, 45%) |
| CMYK | cmyk(79.3%, 0%, 60.3%, 54.5%) |
| CIE-LAB | lab(42.58, -41.80, 30.87) |
| CIE-LCH | lch(42.58, 51.96, 143.55°) |
| OKLab | oklab(49.11% -0.1125 0.0733) |
| OKLCH | oklch(49.11% 0.134 146.9) |
| XYZ | xyz(7.1147, 12.8814, 4.6956) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.07
Jungle Green
#048243
ΔE00 5.54
Tree Green
#2A7E19
ΔE00 5.97
Darkgreen
#006400
ΔE00 6.94
Green
#008000
ΔE00 7.19
Dark Grass Green
#388004
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18742E #74185E
analogous
#307418 #18742E #18745C
triadic
#18742E #2E1874 #742E18
tetradic
#18742E #183074 #74185E #745C18
square
#18742E #183074 #74185E #745C18
split-complementary
#18742E #5C1874 #741830
monochromatic
#05190A #0E411A #18742E #22A742 #32D559
Accessibility & contrast
On white
5.87
#18742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#18742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18742E
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18742E | 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)
#766927
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #18742e; /* rgb */ color: rgb(24, 116, 46); /* oklch */ color: oklch(49.1% 0.134 146.9);
Tailwind
colors: {
custom: {
50: '#669d69',
500: '#18742e',
950: '#000000',
},
}SCSS
$custom: #18742e; $custom-light: #669d69; $custom-dark: #000000;
JSON
{
"hex": "#18742e",
"rgb": {
"r": 24,
"g": 116,
"b": 46
},
"hsl": {
"h": 134.348,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.49113,
"c": 0.13424,
"h": 146.9
},
"luminance": 0.12882
}Semantic roles & 50–950 ramp
primary
#18742E
secondary
#A93F90
accent
#3FC0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A