#185128#185128
#185128 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.090 H 149.3°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).
Color values
| HEX | #185128 |
|---|---|
| RGB | rgb(24, 81, 40) |
| HSL | hsl(137, 54%, 21%) |
| HSV | hsv(137, 70%, 32%) |
| CMYK | cmyk(70.4%, 0%, 50.6%, 68.2%) |
| CIE-LAB | lab(29.99, -28.75, 18.79) |
| CIE-LCH | lch(29.99, 34.34, 146.84°) |
| OKLab | oklab(38.67% -0.0776 0.046) |
| OKLCH | oklch(38.67% 0.09 149.3) |
| XYZ | xyz(3.7018, 6.2319, 3.0149) |
| Luminance | 0.0623 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 2.96
Pine
#2B5D34
ΔE00 4.23
Forest Green
#2D5A27
ΔE00 4.62
Evergreen
#05472A
ΔE00 4.75
Spruce
#0A5F38
ΔE00 5.09
British Racing Green
#05480D
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185128 #511841
analogous
#245118 #185128 #185144
triadic
#185128 #281851 #512818
tetradic
#185128 #182451 #511841 #514418
square
#185128 #182451 #511841 #514418
split-complementary
#185128 #441851 #511824
monochromatic
#07180C #0A2211 #185128 #26803F #34AF57
Accessibility & contrast
On white
9.35
#185128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#185128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185128
9.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185128 | 1.00 | 9.35 | 2.25 | 9.35 |
| #FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A25
Deuteranopia (green-blind)
#4A452B
Tritanopia (blue-blind)
#044F47
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #185128; /* rgb */ color: rgb(24, 81, 40); /* oklch */ color: oklch(38.7% 0.090 149.3);
Tailwind
colors: {
custom: {
50: '#5d8262',
500: '#185128',
950: '#000000',
},
}SCSS
$custom: #185128; $custom-light: #5d8262; $custom-dark: #000000;
JSON
{
"hex": "#185128",
"rgb": {
"r": 24,
"g": 81,
"b": 40
},
"hsl": {
"h": 136.842,
"s": 54.286,
"l": 20.588
},
"oklch": {
"l": 0.38672,
"c": 0.09017,
"h": 149.3
},
"luminance": 0.06232
}Semantic roles & 50–950 ramp
primary
#185128
secondary
#883D73
accent
#4AB4DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040A05
muted
#797C79