#188A1F#188A1F
#188A1F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.3% C 0.172 H 143.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #188A1F |
|---|---|
| RGB | rgb(24, 138, 31) |
| HSL | hsl(124, 70%, 32%) |
| HSV | hsv(124, 83%, 54%) |
| CMYK | cmyk(82.6%, 0%, 77.5%, 45.9%) |
| CIE-LAB | lab(50.06, -50.99, 45.53) |
| CIE-LCH | lch(50.06, 68.36, 138.24°) |
| OKLab | oklab(55.28% -0.1381 0.1025) |
| OKLCH | oklch(55.28% 0.172 143.4) |
| XYZ | xyz(9.7118, 18.4689, 4.3491) |
| Luminance | 0.1847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.68
Emerald Green
#028F1E
ΔE00 1.79
Irish Green
#019529
ΔE00 3.86
Green
#008000
ΔE00 4.04
True Green
#089404
ΔE00 4.14
Kelley Green
#009337
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#188A1F #8A1883
analogous
#4A8A18 #188A1F #188A58
triadic
#188A1F #1F188A #8A1F18
tetradic
#188A1F #184A8A #8A1883 #8A5818
square
#188A1F #184A8A #8A1883 #8A5818
split-complementary
#188A1F #58188A #8A184A
monochromatic
#062208 #0F5613 #188A1F #21BE2B #3FDE49
Accessibility & contrast
On white
4.47
#188A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#188A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #188A1F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##188A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##188A1F | 1.00 | 4.47 | 4.69 | 4.69 |
| #FFFFFF | 4.47 | 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)
#8D7C07
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #188a1f; /* rgb */ color: rgb(24, 138, 31); /* oklch */ color: oklch(55.3% 0.172 143.4);
Tailwind
colors: {
custom: {
50: '#6cad63',
500: '#188a1f',
950: '#000000',
},
}SCSS
$custom: #188a1f; $custom-light: #6cad63; $custom-dark: #000000;
JSON
{
"hex": "#188a1f",
"rgb": {
"r": 24,
"g": 138,
"b": 31
},
"hsl": {
"h": 123.684,
"s": 70.37,
"l": 31.765
},
"oklch": {
"l": 0.55281,
"c": 0.17199,
"h": 143.4
},
"luminance": 0.1847
}Semantic roles & 50–950 ramp
primary
#188A1F
secondary
#BD40B6
accent
#3BE2ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A