#187F2C#187F2C
#187F2C is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.150 H 145.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #187F2C |
|---|---|
| RGB | rgb(24, 127, 44) |
| HSL | hsl(132, 68%, 30%) |
| HSV | hsv(132, 81%, 50%) |
| CMYK | cmyk(81.1%, 0%, 65.4%, 50.2%) |
| CIE-LAB | lab(46.38, -46.00, 36.22) |
| CIE-LCH | lch(46.38, 58.55, 141.78°) |
| OKLab | oklab(52.26% -0.1239 0.0846) |
| OKLCH | oklch(52.26% 0.15 145.7) |
| XYZ | xyz(8.4201, 15.5538, 4.9408) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.48
Tree Green
#2A7E19
ΔE00 3.35
Green
#008000
ΔE00 4.38
Jungle Green
#048243
ΔE00 4.43
Forestgreen (CSS)
#228B22
ΔE00 5.10
Dark Grass Green
#388004
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187F2C #7F186B
analogous
#387F18 #187F2C #187F5F
triadic
#187F2C #2C187F #7F2C18
tetradic
#187F2C #18387F #7F186B #7F5F18
square
#187F2C #18387F #7F186B #7F5F18
split-complementary
#187F2C #5F187F #7F1838
monochromatic
#051A09 #0E4C1A #187F2C #22B23E #38D957
Accessibility & contrast
On white
5.11
#187F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#187F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187F2C
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187F2C | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817322
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #187f2c; /* rgb */ color: rgb(24, 127, 44); /* oklch */ color: oklch(52.3% 0.150 145.7);
Tailwind
colors: {
custom: {
50: '#69a569',
500: '#187f2c',
950: '#000000',
},
}SCSS
$custom: #187f2c; $custom-light: #69a569; $custom-dark: #000000;
JSON
{
"hex": "#187f2c",
"rgb": {
"r": 24,
"g": 127,
"b": 44
},
"hsl": {
"h": 131.65,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.52259,
"c": 0.15006,
"h": 145.7
},
"luminance": 0.15555
}Semantic roles & 50–950 ramp
primary
#187F2C
secondary
#B33F9D
accent
#3DC9EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A