#155F26#155F26
#155F26 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.114 H 147.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #155F26 |
|---|---|
| RGB | rgb(21, 95, 38) |
| HSL | hsl(134, 64%, 23%) |
| HSV | hsv(134, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 60%, 62.7%) |
| CIE-LAB | lab(34.97, -35.51, 26.03) |
| CIE-LCH | lch(34.97, 44.03, 143.76°) |
| OKLab | oklab(42.76% -0.0956 0.062) |
| OKLCH | oklch(42.76% 0.114 147) |
| XYZ | xyz(4.7510, 8.4832, 3.2204) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.65
Deep Green
#02590F
ΔE00 3.78
Pine
#2B5D34
ΔE00 4.24
Forest
#0B5509
ΔE00 4.85
Spruce
#0A5F38
ΔE00 4.87
Darkgreen
#006400
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F26 #5F154E
analogous
#295F15 #155F26 #155F4B
triadic
#155F26 #26155F #5F2615
tetradic
#155F26 #15295F #5F154E #5F4B15
square
#155F26 #15295F #5F154E #5F4B15
split-complementary
#155F26 #4B155F #5F1529
monochromatic
#06190A #0A2D12 #155F26 #20913A #2BC34E
Accessibility & contrast
On white
7.79
#155F26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#155F26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F26
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F26 | 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)
#605621
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f26; /* rgb */ color: rgb(21, 95, 38); /* oklch */ color: oklch(42.8% 0.114 147.0);
Tailwind
colors: {
custom: {
50: '#5f8d62',
500: '#155f26',
950: '#000000',
},
}SCSS
$custom: #155f26; $custom-light: #5f8d62; $custom-dark: #000000;
JSON
{
"hex": "#155f26",
"rgb": {
"r": 21,
"g": 95,
"b": 38
},
"hsl": {
"h": 133.784,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42755,
"c": 0.11401,
"h": 147
},
"luminance": 0.08484
}Semantic roles & 50–950 ramp
primary
#155F26
secondary
#963A81
accent
#41C1E7
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79