#155C1F#155C1F
#155C1F is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.116 H 145.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #155C1F |
|---|---|
| RGB | rgb(21, 92, 31) |
| HSL | hsl(128, 63%, 22%) |
| HSV | hsv(128, 77%, 36%) |
| CMYK | cmyk(77.2%, 0%, 66.3%, 63.9%) |
| CIE-LAB | lab(33.80, -35.35, 28.33) |
| CIE-LCH | lch(33.80, 45.30, 141.29°) |
| OKLab | oklab(41.76% -0.0954 0.0664) |
| OKLCH | oklch(41.76% 0.116 145.2) |
| XYZ | xyz(4.3834, 7.9122, 2.5922) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.48
Forest
#0B5509
ΔE00 3.43
Forest Green
#2D5A27
ΔE00 3.43
Pine
#2B5D34
ΔE00 4.98
Darkgreen
#006400
ΔE00 5.38
Bottle Green
#044A05
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155C1F #5C1552
analogous
#2E5C15 #155C1F #155C43
triadic
#155C1F #1F155C #5C1F15
tetradic
#155C1F #152E5C #5C1552 #5C4315
square
#155C1F #152E5C #5C1552 #5C4315
split-complementary
#155C1F #43155C #5C152E
monochromatic
#061908 #0A2A0E #155C1F #208E30 #2CC041
Accessibility & contrast
On white
8.13
#155C1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#155C1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155C1F
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155C1F | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5318
Deuteranopia (green-blind)
#554D24
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #155c1f; /* rgb */ color: rgb(21, 92, 31); /* oklch */ color: oklch(41.8% 0.116 145.2);
Tailwind
colors: {
custom: {
50: '#5f8b5d',
500: '#155c1f',
950: '#000000',
},
}SCSS
$custom: #155c1f; $custom-light: #5f8b5d; $custom-dark: #000000;
JSON
{
"hex": "#155c1f",
"rgb": {
"r": 21,
"g": 92,
"b": 31
},
"hsl": {
"h": 128.451,
"s": 62.832,
"l": 22.157
},
"oklch": {
"l": 0.41758,
"c": 0.11626,
"h": 145.2
},
"luminance": 0.07913
}Semantic roles & 50–950 ramp
primary
#155C1F
secondary
#933987
accent
#42CFE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79