#155131#155131
#155131 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.082 H 155.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #155131 |
|---|---|
| RGB | rgb(21, 81, 49) |
| HSL | hsl(148, 59%, 20%) |
| HSV | hsv(148, 74%, 32%) |
| CMYK | cmyk(74.1%, 0%, 39.5%, 68.2%) |
| CIE-LAB | lab(30.07, -27.54, 13.43) |
| CIE-LCH | lch(30.07, 30.64, 154.00°) |
| OKLab | oklab(38.77% -0.0745 0.0337) |
| OKLCH | oklch(38.77% 0.082 155.7) |
| XYZ | xyz(3.8057, 6.2656, 3.9140) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Evergreen
#05472A
ΔE00 3.26
Pine Green
#0A481E
ΔE00 4.45
Spruce
#0A5F38
ΔE00 4.78
Pine
#2B5D34
ΔE00 5.04
Hunter Green
#355E3B
ΔE00 5.75
Forest Green
#2D5A27
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155131 #511535
analogous
#175115 #155131 #15514F
triadic
#155131 #311551 #513115
tetradic
#155131 #151751 #511535 #514F15
square
#155131 #151751 #511535 #514F15
split-complementary
#155131 #4F1551 #511517
monochromatic
#06180F #082014 #155131 #22824E #2EB26C
Accessibility & contrast
On white
9.32
#155131 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#155131 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155131
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155131 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155131 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2F
Deuteranopia (green-blind)
#494533
Tritanopia (blue-blind)
#005049
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #155131; /* rgb */ color: rgb(21, 81, 49); /* oklch */ color: oklch(38.8% 0.082 155.7);
Tailwind
colors: {
custom: {
50: '#5b8269',
500: '#155131',
950: '#000000',
},
}SCSS
$custom: #155131; $custom-light: #5b8269; $custom-dark: #000000;
JSON
{
"hex": "#155131",
"rgb": {
"r": 21,
"g": 81,
"b": 49
},
"hsl": {
"h": 148,
"s": 58.824,
"l": 20
},
"oklch": {
"l": 0.38771,
"c": 0.08181,
"h": 155.7
},
"luminance": 0.06266
}Semantic roles & 50–950 ramp
primary
#155131
secondary
#893964
accent
#4699E2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A