#18802F#18802F
#18802F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.149 H 146.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #18802F |
|---|---|
| RGB | rgb(24, 128, 47) |
| HSL | hsl(133, 68%, 30%) |
| HSV | hsv(133, 81%, 50%) |
| CMYK | cmyk(81.3%, 0%, 63.3%, 49.8%) |
| CIE-LAB | lab(46.76, -45.97, 35.22) |
| CIE-LCH | lch(46.76, 57.91, 142.55°) |
| OKLab | oklab(52.58% -0.1238 0.0827) |
| OKLCH | oklch(52.58% 0.149 146.2) |
| XYZ | xyz(8.6083, 15.8367, 5.2919) |
| Luminance | 0.1584 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.35
Tree Green
#2A7E19
ΔE00 3.76
Jungle Green
#048243
ΔE00 3.97
Green
#008000
ΔE00 4.78
Forestgreen (CSS)
#228B22
ΔE00 5.03
Emerald Green
#028F1E
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18802F #801869
analogous
#358018 #18802F #188063
triadic
#18802F #2F1880 #802F18
tetradic
#18802F #183580 #801869 #806318
square
#18802F #183580 #801869 #806318
split-complementary
#18802F #631880 #801835
monochromatic
#051A09 #0E4C1C #18802F #22B442 #39DA5C
Accessibility & contrast
On white
5.04
#18802F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#18802F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18802F
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18802F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18802F | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #18802f; /* rgb */ color: rgb(24, 128, 47); /* oklch */ color: oklch(52.6% 0.149 146.2);
Tailwind
colors: {
custom: {
50: '#69a66b',
500: '#18802f',
950: '#000000',
},
}SCSS
$custom: #18802f; $custom-light: #69a66b; $custom-dark: #000000;
JSON
{
"hex": "#18802f",
"rgb": {
"r": 24,
"g": 128,
"b": 47
},
"hsl": {
"h": 133.269,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.52581,
"c": 0.14887,
"h": 146.2
},
"luminance": 0.15838
}Semantic roles & 50–950 ramp
primary
#18802F
secondary
#B4409A
accent
#3DC5EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A