#155229#155229
#155229 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.092 H 150.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #155229 |
|---|---|
| RGB | rgb(21, 82, 41) |
| HSL | hsl(140, 59%, 20%) |
| HSV | hsv(140, 74%, 32%) |
| CMYK | cmyk(74.4%, 0%, 50%, 67.8%) |
| CIE-LAB | lab(30.29, -29.66, 18.56) |
| CIE-LCH | lch(30.29, 34.98, 147.96°) |
| OKLab | oklab(38.9% -0.0799 0.0455) |
| OKLCH | oklch(38.9% 0.092 150.3) |
| XYZ | xyz(3.7265, 6.3537, 3.1274) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.22
Pine
#2B5D34
ΔE00 4.12
Spruce
#0A5F38
ΔE00 4.64
Forest Green
#2D5A27
ΔE00 4.75
Evergreen
#05472A
ΔE00 4.79
British Racing Green
#05480D
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155229 #52153E
analogous
#205215 #155229 #155247
triadic
#155229 #291552 #522915
tetradic
#155229 #152052 #52153E #524715
square
#155229 #152052 #52153E #524715
split-complementary
#155229 #471552 #521520
monochromatic
#06180C #092111 #155229 #218341 #2EB35A
Accessibility & contrast
On white
9.25
#155229 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#155229 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155229
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155229 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155229 | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A26
Deuteranopia (green-blind)
#4B452C
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #155229; /* rgb */ color: rgb(21, 82, 41); /* oklch */ color: oklch(38.9% 0.092 150.3);
Tailwind
colors: {
custom: {
50: '#5c8363',
500: '#155229',
950: '#000000',
},
}SCSS
$custom: #155229; $custom-light: #5c8363; $custom-dark: #000000;
JSON
{
"hex": "#155229",
"rgb": {
"r": 21,
"g": 82,
"b": 41
},
"hsl": {
"h": 139.672,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.38899,
"c": 0.09196,
"h": 150.3
},
"luminance": 0.06354
}Semantic roles & 50–950 ramp
primary
#155229
secondary
#8A396F
accent
#45AFE2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79