#188A1C#188A1C
#188A1C is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.174 H 143.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #188A1C |
|---|---|
| RGB | rgb(24, 138, 28) |
| HSL | hsl(122, 70%, 32%) |
| HSV | hsv(122, 83%, 54%) |
| CMYK | cmyk(82.6%, 0%, 79.7%, 45.9%) |
| CIE-LAB | lab(50.04, -51.21, 46.56) |
| CIE-LCH | lch(50.04, 69.21, 137.73°) |
| OKLab | oklab(55.26% -0.1388 0.1043) |
| OKLCH | oklch(55.26% 0.174 143.1) |
| XYZ | xyz(9.6741, 18.4538, 4.1505) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.78
Emerald Green
#028F1E
ΔE00 1.79
Green
#008000
ΔE00 3.92
Irish Green
#019529
ΔE00 3.93
True Green
#089404
ΔE00 3.96
Tree Green
#2A7E19
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188A1C #8A1886
analogous
#4D8A18 #188A1C #188A55
triadic
#188A1C #1C188A #8A1C18
tetradic
#188A1C #184D8A #8A1886 #8A5518
square
#188A1C #184D8A #8A1886 #8A5518
split-complementary
#188A1C #55188A #8A184D
monochromatic
#062207 #0F5611 #188A1C #21BE27 #3FDE44
Accessibility & contrast
On white
4.48
#188A1C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#188A1C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188A1C
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188A1C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188A1C | 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)
#817429
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #188a1c; /* rgb */ color: rgb(24, 138, 28); /* oklch */ color: oklch(55.3% 0.174 143.1);
Tailwind
colors: {
custom: {
50: '#6cad61',
500: '#188a1c',
950: '#000000',
},
}SCSS
$custom: #188a1c; $custom-light: #6cad61; $custom-dark: #000000;
JSON
{
"hex": "#188a1c",
"rgb": {
"r": 24,
"g": 138,
"b": 28
},
"hsl": {
"h": 122.105,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.5526,
"c": 0.17361,
"h": 143.1
},
"luminance": 0.18455
}Semantic roles & 50–950 ramp
primary
#188A1C
secondary
#BD40B9
accent
#3BE7ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A