#187231#187231
#187231 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.129 H 148.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #187231 |
|---|---|
| RGB | rgb(24, 114, 49) |
| HSL | hsl(137, 65%, 27%) |
| HSV | hsv(137, 79%, 45%) |
| CMYK | cmyk(78.9%, 0%, 57%, 55.3%) |
| CIE-LAB | lab(41.92, -40.60, 28.52) |
| CIE-LCH | lch(41.92, 49.62, 144.91°) |
| OKLab | oklab(48.58% -0.1092 0.0683) |
| OKLCH | oklch(48.58% 0.129 148) |
| XYZ | xyz(6.9478, 12.4498, 4.9420) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.71
Jungle Green
#048243
ΔE00 5.82
Tree Green
#2A7E19
ΔE00 7.04
Darkgreen
#006400
ΔE00 7.06
Spruce
#0A5F38
ΔE00 8.24
Green
#008000
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187231 #721859
analogous
#2C7218 #187231 #18725E
triadic
#187231 #311872 #723118
tetradic
#187231 #182C72 #721859 #725E18
square
#187231 #182C72 #721859 #725E18
split-complementary
#187231 #5E1872 #72182C
monochromatic
#05190B #0D3F1B #187231 #23A547 #31D45E
Accessibility & contrast
On white
6.02
#187231 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#187231 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187231
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187231 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73672B
Deuteranopia (green-blind)
#696036
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #187231; /* rgb */ color: rgb(24, 114, 49); /* oklch */ color: oklch(48.6% 0.129 148.0);
Tailwind
colors: {
custom: {
50: '#659b6b',
500: '#187231',
950: '#000000',
},
}SCSS
$custom: #187231; $custom-light: #659b6b; $custom-dark: #000000;
JSON
{
"hex": "#187231",
"rgb": {
"r": 24,
"g": 114,
"b": 49
},
"hsl": {
"h": 136.667,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.48577,
"c": 0.12882,
"h": 148
},
"luminance": 0.12451
}Semantic roles & 50–950 ramp
primary
#187231
secondary
#A73E8A
accent
#40B9E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A