#155D1F#155D1F
#155D1F is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.118 H 145.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #155D1F |
|---|---|
| RGB | rgb(21, 93, 31) |
| HSL | hsl(128, 63%, 22%) |
| HSV | hsv(128, 77%, 36%) |
| CMYK | cmyk(77.4%, 0%, 66.7%, 63.5%) |
| CIE-LAB | lab(34.16, -35.73, 28.74) |
| CIE-LCH | lch(34.16, 45.85, 141.19°) |
| OKLab | oklab(42.06% -0.0965 0.0673) |
| OKLCH | oklch(42.06% 0.118 145.1) |
| XYZ | xyz(4.4706, 8.0866, 2.6213) |
| Luminance | 0.0809 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.50
Forest
#0B5509
ΔE00 3.54
Forest Green
#2D5A27
ΔE00 3.58
Pine
#2B5D34
ΔE00 5.10
Darkgreen
#006400
ΔE00 5.11
Spruce
#0A5F38
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155D1F #5D1553
analogous
#2F5D15 #155D1F #155D43
triadic
#155D1F #1F155D #5D1F15
tetradic
#155D1F #152F5D #5D1553 #5D4315
square
#155D1F #152F5D #5D1553 #5D4315
split-complementary
#155D1F #43155D #5D152F
monochromatic
#061908 #0A2B0E #155D1F #208F30 #2CC140
Accessibility & contrast
On white
8.02
#155D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#155D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155D1F
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155D1F | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5418
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #155d1f; /* rgb */ color: rgb(21, 93, 31); /* oklch */ color: oklch(42.1% 0.118 145.1);
Tailwind
colors: {
custom: {
50: '#5f8c5d',
500: '#155d1f',
950: '#000000',
},
}SCSS
$custom: #155d1f; $custom-light: #5f8c5d; $custom-dark: #000000;
JSON
{
"hex": "#155d1f",
"rgb": {
"r": 21,
"g": 93,
"b": 31
},
"hsl": {
"h": 128.333,
"s": 63.158,
"l": 22.353
},
"oklch": {
"l": 0.42059,
"c": 0.11761,
"h": 145.1
},
"luminance": 0.08087
}Semantic roles & 50–950 ramp
primary
#155D1F
secondary
#943988
accent
#42CFE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79