#155231#155231
#155231 is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.1% C 0.083 H 155.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).
Color values
| HEX | #155231 |
|---|---|
| RGB | rgb(21, 82, 49) |
| HSL | hsl(148, 59%, 20%) |
| HSV | hsv(148, 74%, 32%) |
| CMYK | cmyk(74.4%, 0%, 40.2%, 67.8%) |
| CIE-LAB | lab(30.44, -27.99, 13.92) |
| CIE-LCH | lch(30.44, 31.26, 153.56°) |
| OKLab | oklab(39.07% -0.0757 0.0349) |
| OKLCH | oklch(39.07% 0.083 155.3) |
| XYZ | xyz(3.8806, 6.4153, 3.9389) |
| Luminance | 0.0642 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.60
Spruce
#0A5F38
ΔE00 4.42
Pine Green
#0A481E
ΔE00 4.46
Pine
#2B5D34
ΔE00 4.70
Hunter Green
#355E3B
ΔE00 5.52
Forest Green
#2D5A27
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155231 #521536
analogous
#185215 #155231 #15524F
triadic
#155231 #311552 #523115
tetradic
#155231 #151852 #521536 #524F15
square
#155231 #151852 #521536 #524F15
split-complementary
#155231 #4F1552 #521518
monochromatic
#06180F #092114 #155231 #21834E #2EB36B
Accessibility & contrast
On white
9.20
#155231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#155231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155231
9.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155231 | 1.00 | 9.20 | 2.28 | 9.20 |
| #FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524B2F
Deuteranopia (green-blind)
#4A4533
Tritanopia (blue-blind)
#00514A
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #155231; /* rgb */ color: rgb(21, 82, 49); /* oklch */ color: oklch(39.1% 0.083 155.3);
Tailwind
colors: {
custom: {
50: '#5c8369',
500: '#155231',
950: '#000000',
},
}SCSS
$custom: #155231; $custom-light: #5c8369; $custom-dark: #000000;
JSON
{
"hex": "#155231",
"rgb": {
"r": 21,
"g": 82,
"b": 49
},
"hsl": {
"h": 147.541,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.39071,
"c": 0.08337,
"h": 155.3
},
"luminance": 0.06416
}Semantic roles & 50–950 ramp
primary
#155231
secondary
#8A3965
accent
#459AE2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A