#188A2B#188A2B
#188A2B is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.4% C 0.164 H 145.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #188A2B |
|---|---|
| RGB | rgb(24, 138, 43) |
| HSL | hsl(130, 70%, 32%) |
| HSV | hsv(130, 83%, 54%) |
| CMYK | cmyk(82.6%, 0%, 68.8%, 45.9%) |
| CIE-LAB | lab(50.15, -49.87, 40.83) |
| CIE-LCH | lch(50.15, 64.45, 140.69°) |
| OKLab | oklab(55.39% -0.1345 0.0943) |
| OKLCH | oklch(55.39% 0.164 145) |
| XYZ | xyz(9.9005, 18.5444, 5.3427) |
| Luminance | 0.1855 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.62
Emerald Green
#028F1E
ΔE00 2.49
Kelley Green
#009337
ΔE00 3.37
Irish Green
#019529
ΔE00 3.90
Tree Green
#2A7E19
ΔE00 4.73
Green
#008000
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188A2B #8A1877
analogous
#3E8A18 #188A2B #188A64
triadic
#188A2B #2B188A #8A2B18
tetradic
#188A2B #183E8A #8A1877 #8A6418
square
#188A2B #183E8A #8A1877 #8A6418
split-complementary
#188A2B #64188A #8A183E
monochromatic
#06220B #0F561B #188A2B #21BE3B #3FDE59
Accessibility & contrast
On white
4.46
#188A2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#188A2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188A2B
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188A2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188A2B | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7C1E
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#008677
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #188a2b; /* rgb */ color: rgb(24, 138, 43); /* oklch */ color: oklch(55.4% 0.164 145.0);
Tailwind
colors: {
custom: {
50: '#6cad69',
500: '#188a2b',
950: '#000000',
},
}SCSS
$custom: #188a2b; $custom-light: #6cad69; $custom-dark: #000000;
JSON
{
"hex": "#188a2b",
"rgb": {
"r": 24,
"g": 138,
"b": 43
},
"hsl": {
"h": 130,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.55385,
"c": 0.16424,
"h": 145
},
"luminance": 0.18546
}Semantic roles & 50–950 ramp
primary
#188A2B
secondary
#BD40A9
accent
#3BCFED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A