#155E1F#155E1F
#155E1F is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.119 H 145.1°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #155E1F |
|---|---|
| RGB | rgb(21, 94, 31) |
| HSL | hsl(128, 63%, 23%) |
| HSV | hsv(128, 78%, 37%) |
| CMYK | cmyk(77.7%, 0%, 67%, 63.1%) |
| CIE-LAB | lab(34.53, -36.11, 29.15) |
| CIE-LCH | lch(34.53, 46.41, 141.09°) |
| OKLab | oklab(42.36% -0.0975 0.0681) |
| OKLCH | oklch(42.36% 0.119 145.1) |
| XYZ | xyz(4.5590, 8.2633, 2.6508) |
| Luminance | 0.0826 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.57
Forest
#0B5509
ΔE00 3.68
Forest Green
#2D5A27
ΔE00 3.75
Darkgreen
#006400
ΔE00 4.85
Pine
#2B5D34
ΔE00 5.25
Spruce
#0A5F38
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155E1F #5E1554
analogous
#305E15 #155E1F #155E43
triadic
#155E1F #1F155E #5E1F15
tetradic
#155E1F #15305E #5E1554 #5E4315
square
#155E1F #15305E #5E1554 #5E4315
split-complementary
#155E1F #43155E #5E1530
monochromatic
#061908 #0A2C0F #155E1F #20902F #2BC240
Accessibility & contrast
On white
7.92
#155E1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#155E1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155E1F
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155E1F | 1.00 | 7.92 | 2.65 | 7.92 |
| #FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605518
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #155e1f; /* rgb */ color: rgb(21, 94, 31); /* oklch */ color: oklch(42.4% 0.119 145.1);
Tailwind
colors: {
custom: {
50: '#5f8c5d',
500: '#155e1f',
950: '#000000',
},
}SCSS
$custom: #155e1f; $custom-light: #5f8c5d; $custom-dark: #000000;
JSON
{
"hex": "#155e1f",
"rgb": {
"r": 21,
"g": 94,
"b": 31
},
"hsl": {
"h": 128.219,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.4236,
"c": 0.11897,
"h": 145.1
},
"luminance": 0.08264
}Semantic roles & 50–950 ramp
primary
#155E1F
secondary
#953989
accent
#41D0E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79