#155F25#155F25
#155F25 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.115 H 146.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #155F25 |
|---|---|
| RGB | rgb(21, 95, 37) |
| HSL | hsl(133, 64%, 23%) |
| HSV | hsv(133, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 61.1%, 62.7%) |
| CIE-LAB | lab(34.96, -35.66, 26.55) |
| CIE-LCH | lch(34.96, 44.46, 143.34°) |
| OKLab | oklab(42.74% -0.0961 0.0631) |
| OKLCH | oklch(42.74% 0.115 146.7) |
| XYZ | xyz(4.7351, 8.4769, 3.1366) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.60
Forest Green
#2D5A27
ΔE00 3.67
Pine
#2B5D34
ΔE00 4.41
Forest
#0B5509
ΔE00 4.69
Spruce
#0A5F38
ΔE00 5.09
Darkgreen
#006400
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F25 #5F154F
analogous
#2A5F15 #155F25 #155F4A
triadic
#155F25 #25155F #5F2515
tetradic
#155F25 #152A5F #5F154F #5F4A15
square
#155F25 #152A5F #5F154F #5F4A15
split-complementary
#155F25 #4A155F #5F152A
monochromatic
#06190A #0A2D11 #155F25 #209139 #2BC34C
Accessibility & contrast
On white
7.79
#155F25 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#155F25 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F25
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F25 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F25 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561F
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f25; /* rgb */ color: rgb(21, 95, 37); /* oklch */ color: oklch(42.7% 0.115 146.7);
Tailwind
colors: {
custom: {
50: '#5f8d61',
500: '#155f25',
950: '#000000',
},
}SCSS
$custom: #155f25; $custom-light: #5f8d61; $custom-dark: #000000;
JSON
{
"hex": "#155f25",
"rgb": {
"r": 21,
"g": 95,
"b": 37
},
"hsl": {
"h": 132.973,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.4274,
"c": 0.11494,
"h": 146.7
},
"luminance": 0.08477
}Semantic roles & 50–950 ramp
primary
#155F25
secondary
#963A82
accent
#41C3E7
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79