#187C38#187C38
#187C38 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.136 H 148.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #187C38 |
|---|---|
| RGB | rgb(24, 124, 56) |
| HSL | hsl(139, 68%, 29%) |
| HSV | hsv(139, 81%, 49%) |
| CMYK | cmyk(80.6%, 0%, 54.8%, 51.4%) |
| CIE-LAB | lab(45.49, -43.23, 29.16) |
| CIE-LCH | lch(45.49, 52.15, 146.00°) |
| OKLab | oklab(51.56% -0.1161 0.0702) |
| OKLCH | oklch(51.56% 0.136 148.8) |
| XYZ | xyz(8.2975, 14.8940, 6.1781) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.29
Jungle Green
#048243
ΔE00 2.75
Tree Green
#2A7E19
ΔE00 5.80
Green
#008000
ΔE00 7.02
Sea Green
#2E8B57
ΔE00 7.15
Forestgreen (CSS)
#228B22
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187C38 #7C185C
analogous
#2A7C18 #187C38 #187C6A
triadic
#187C38 #38187C #7C3818
tetradic
#187C38 #182A7C #7C185C #7C6A18
square
#187C38 #182A7C #7C185C #7C6A18
split-complementary
#187C38 #6A187C #7C182A
monochromatic
#051A0C #0E4921 #187C38 #22AF4F #36D86A
Accessibility & contrast
On white
5.28
#187C38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#187C38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187C38
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187C38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187C38 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D7032
Deuteranopia (green-blind)
#72693D
Tritanopia (blue-blind)
#00796C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #187c38; /* rgb */ color: rgb(24, 124, 56); /* oklch */ color: oklch(51.6% 0.136 148.8);
Tailwind
colors: {
custom: {
50: '#67a370',
500: '#187c38',
950: '#000000',
},
}SCSS
$custom: #187c38; $custom-light: #67a370; $custom-dark: #000000;
JSON
{
"hex": "#187c38",
"rgb": {
"r": 24,
"g": 124,
"b": 56
},
"hsl": {
"h": 139.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.51562,
"c": 0.13571,
"h": 148.8
},
"luminance": 0.14895
}Semantic roles & 50–950 ramp
primary
#187C38
secondary
#B13F8C
accent
#3DB3EA
background
#F6FAF6
surface
#EBF4EC
border
#C6CEC7
text
#070F07
muted
#7A7F7A