#18803B#18803B
#18803B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.7% C 0.138 H 149.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #18803B |
|---|---|
| RGB | rgb(24, 128, 59) |
| HSL | hsl(140, 68%, 30%) |
| HSV | hsv(140, 81%, 50%) |
| CMYK | cmyk(81.3%, 0%, 53.9%, 49.8%) |
| CIE-LAB | lab(46.91, -44.23, 29.32) |
| CIE-LCH | lch(46.91, 53.06, 146.46°) |
| OKLab | oklab(52.75% -0.1188 0.0707) |
| OKLCH | oklch(52.75% 0.138 149.2) |
| XYZ | xyz(8.8845, 15.9472, 6.7467) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 1.87
Darkish Green
#287C37
ΔE00 1.87
Tree Green
#2A7E19
ΔE00 5.86
Sea Green
#2E8B57
ΔE00 6.06
Forestgreen (CSS)
#228B22
ΔE00 6.62
Green
#008000
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18803B #80185D
analogous
#298018 #18803B #18806F
triadic
#18803B #3B1880 #803B18
tetradic
#18803B #182980 #80185D #806F18
square
#18803B #182980 #80185D #806F18
split-complementary
#18803B #6F1880 #801829
monochromatic
#051A0C #0E4C23 #18803B #22B453 #39DA6F
Accessibility & contrast
On white
5.01
#18803B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#18803B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18803B
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18803B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18803B | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817435
Deuteranopia (green-blind)
#756C40
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #18803b; /* rgb */ color: rgb(24, 128, 59); /* oklch */ color: oklch(52.7% 0.138 149.2);
Tailwind
colors: {
custom: {
50: '#68a672',
500: '#18803b',
950: '#000000',
},
}SCSS
$custom: #18803b; $custom-light: #68a672; $custom-dark: #000000;
JSON
{
"hex": "#18803b",
"rgb": {
"r": 24,
"g": 128,
"b": 59
},
"hsl": {
"h": 140.192,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.52749,
"c": 0.13824,
"h": 149.2
},
"luminance": 0.15948
}Semantic roles & 50–950 ramp
primary
#18803B
secondary
#B4408D
accent
#3DB0EB
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B