#188A18#188A18
#188A18 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.176 H 142.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #188A18 |
|---|---|
| RGB | rgb(24, 138, 24) |
| HSL | hsl(120, 70%, 32%) |
| HSV | hsv(120, 83%, 54%) |
| CMYK | cmyk(82.6%, 0%, 82.6%, 45.9%) |
| CIE-LAB | lab(50.02, -51.48, 47.82) |
| CIE-LCH | lch(50.02, 70.26, 137.11°) |
| OKLab | oklab(55.24% -0.1397 0.1063) |
| OKLCH | oklch(55.24% 0.176 142.7) |
| XYZ | xyz(9.6294, 18.4359, 3.9150) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.04
Emerald Green
#028F1E
ΔE00 1.87
True Green
#089404
ΔE00 3.78
Green
#008000
ΔE00 3.81
Irish Green
#019529
ΔE00 4.05
Tree Green
#2A7E19
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188A18 #8A188A
analogous
#518A18 #188A18 #188A51
triadic
#188A18 #18188A #8A1818
tetradic
#188A18 #18518A #8A188A #8A5118
square
#188A18 #18518A #8A188A #8A5118
split-complementary
#188A18 #51188A #8A1851
monochromatic
#062206 #0F560F #188A18 #21BE21 #3FDE3F
Accessibility & contrast
On white
4.48
#188A18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#188A18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188A18
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188A18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188A18 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#817426
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #188a18; /* rgb */ color: rgb(24, 138, 24); /* oklch */ color: oklch(55.2% 0.176 142.7);
Tailwind
colors: {
custom: {
50: '#6dad60',
500: '#188a18',
950: '#000000',
},
}SCSS
$custom: #188a18; $custom-light: #6dad60; $custom-dark: #000000;
JSON
{
"hex": "#188a18",
"rgb": {
"r": 24,
"g": 138,
"b": 24
},
"hsl": {
"h": 120,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.55236,
"c": 0.17558,
"h": 142.7
},
"luminance": 0.18437
}Semantic roles & 50–950 ramp
primary
#188A18
secondary
#BD40BD
accent
#3BEDED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79