#185229#185229
#185229 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.091 H 149.7°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #185229 |
|---|---|
| RGB | rgb(24, 82, 41) |
| HSL | hsl(138, 55%, 21%) |
| HSV | hsv(138, 71%, 32%) |
| CMYK | cmyk(70.7%, 0%, 50%, 67.8%) |
| CIE-LAB | lab(30.37, -29.00, 18.68) |
| CIE-LCH | lch(30.37, 34.50, 147.21°) |
| OKLab | oklab(38.99% -0.0782 0.0458) |
| OKLCH | oklch(38.99% 0.091 149.7) |
| XYZ | xyz(3.7939, 6.3885, 3.1306) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.26
Pine
#2B5D34
ΔE00 3.97
Forest Green
#2D5A27
ΔE00 4.52
Spruce
#0A5F38
ΔE00 4.77
Evergreen
#05472A
ΔE00 4.89
Hunter Green
#355E3B
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#185229 #521841
analogous
#245218 #185229 #185246
triadic
#185229 #291852 #522918
tetradic
#185229 #182452 #521841 #524618
square
#185229 #182452 #521841 #524618
split-complementary
#185229 #461852 #521824
monochromatic
#07180C #0A2311 #185229 #268141 #34B158
Accessibility & contrast
On white
9.22
#185229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#185229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #185229
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##185229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##185229 | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B26
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#035048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #185229; /* rgb */ color: rgb(24, 82, 41); /* oklch */ color: oklch(39.0% 0.091 149.7);
Tailwind
colors: {
custom: {
50: '#5d8363',
500: '#185229',
950: '#000000',
},
}SCSS
$custom: #185229; $custom-light: #5d8363; $custom-dark: #000000;
JSON
{
"hex": "#185229",
"rgb": {
"r": 24,
"g": 82,
"b": 41
},
"hsl": {
"h": 137.586,
"s": 54.717,
"l": 20.784
},
"oklch": {
"l": 0.38992,
"c": 0.09065,
"h": 149.7
},
"luminance": 0.06389
}Semantic roles & 50–950 ramp
primary
#185229
secondary
#893D73
accent
#4AB3DE
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#050B05
muted
#797C79