#18731E#18731E
#18731E is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.146 H 143.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #18731E |
|---|---|
| RGB | rgb(24, 115, 30) |
| HSL | hsl(124, 65%, 27%) |
| HSV | hsv(124, 79%, 45%) |
| CMYK | cmyk(79.1%, 0%, 73.9%, 54.9%) |
| CIE-LAB | lab(42.08, -43.35, 37.81) |
| CIE-LCH | lch(42.08, 57.52, 138.91°) |
| OKLab | oklab(48.64% -0.1174 0.0863) |
| OKLCH | oklch(48.64% 0.146 143.7) |
| XYZ | xyz(6.7413, 12.5486, 3.2949) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.50
Tree Green
#2A7E19
ΔE00 4.54
Darkgreen
#006400
ΔE00 5.33
Green
#008000
ΔE00 5.52
Dark Grass Green
#388004
ΔE00 6.96
Jungle Green
#048243
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18731E #73186D
analogous
#407318 #18731E #18734C
triadic
#18731E #1E1873 #731E18
tetradic
#18731E #184073 #73186D #734C18
square
#18731E #184073 #73186D #734C18
split-complementary
#18731E #4C1873 #731840
monochromatic
#051907 #0D4011 #18731E #23A62B #31D43C
Accessibility & contrast
On white
5.98
#18731E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#18731E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18731E
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18731E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18731E | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756810
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #18731e; /* rgb */ color: rgb(24, 115, 30); /* oklch */ color: oklch(48.6% 0.146 143.7);
Tailwind
colors: {
custom: {
50: '#669c5f',
500: '#18731e',
950: '#000000',
},
}SCSS
$custom: #18731e; $custom-light: #669c5f; $custom-dark: #000000;
JSON
{
"hex": "#18731e",
"rgb": {
"r": 24,
"g": 115,
"b": 30
},
"hsl": {
"h": 123.956,
"s": 65.468,
"l": 27.255
},
"oklch": {
"l": 0.4864,
"c": 0.14568,
"h": 143.7
},
"luminance": 0.12549
}Semantic roles & 50–950 ramp
primary
#18731E
secondary
#A83FA1
accent
#3FDDE8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79