#155A1F#155A1F
#155A1F is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.2% C 0.114 H 145.3°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #155A1F |
|---|---|
| RGB | rgb(21, 90, 31) |
| HSL | hsl(129, 62%, 22%) |
| HSV | hsv(129, 77%, 35%) |
| CMYK | cmyk(76.7%, 0%, 65.6%, 64.7%) |
| CIE-LAB | lab(33.07, -34.57, 27.49) |
| CIE-LCH | lch(33.07, 44.17, 141.50°) |
| OKLab | oklab(41.16% -0.0933 0.0646) |
| OKLCH | oklch(41.16% 0.114 145.3) |
| XYZ | xyz(4.2125, 7.5702, 2.5353) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.60
Forest Green
#2D5A27
ΔE00 3.21
Forest
#0B5509
ΔE00 3.31
Pine
#2B5D34
ΔE00 4.79
Bottle Green
#044A05
ΔE00 5.45
Darkgreen (survey)
#054907
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155A1F #5A1550
analogous
#2E5A15 #155A1F #155A42
triadic
#155A1F #1F155A #5A1F15
tetradic
#155A1F #152E5A #5A1550 #5A4215
square
#155A1F #152E5A #5A1550 #5A4215
split-complementary
#155A1F #42155A #5A152E
monochromatic
#061909 #09280E #155A1F #218C30 #2CBD41
Accessibility & contrast
On white
8.35
#155A1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#155A1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155A1F
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155A1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155A1F | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5119
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #155a1f; /* rgb */ color: rgb(21, 90, 31); /* oklch */ color: oklch(41.2% 0.114 145.3);
Tailwind
colors: {
custom: {
50: '#5e895d',
500: '#155a1f',
950: '#000000',
},
}SCSS
$custom: #155a1f; $custom-light: #5e895d; $custom-dark: #000000;
JSON
{
"hex": "#155a1f",
"rgb": {
"r": 21,
"g": 90,
"b": 31
},
"hsl": {
"h": 128.696,
"s": 62.162,
"l": 21.765
},
"oklch": {
"l": 0.41155,
"c": 0.11352,
"h": 145.3
},
"luminance": 0.07571
}Semantic roles & 50–950 ramp
primary
#155A1F
secondary
#923985
accent
#43CEE5
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79