#155F1F#155F1F
#155F1F is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.7% C 0.120 H 145.0°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #155F1F |
|---|---|
| RGB | rgb(21, 95, 31) |
| HSL | hsl(128, 64%, 23%) |
| HSV | hsv(128, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 67.4%, 62.7%) |
| CIE-LAB | lab(34.89, -36.49, 29.55) |
| CIE-LCH | lch(34.89, 46.96, 141.00°) |
| OKLab | oklab(42.66% -0.0986 0.069) |
| OKLCH | oklch(42.66% 0.12 145) |
| XYZ | xyz(4.6485, 8.4422, 2.6806) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.68
Forest
#0B5509
ΔE00 3.86
Forest Green
#2D5A27
ΔE00 3.95
Darkgreen
#006400
ΔE00 4.61
Pine
#2B5D34
ΔE00 5.40
Spruce
#0A5F38
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F1F #5F1555
analogous
#305F15 #155F1F #155F44
triadic
#155F1F #1F155F #5F1F15
tetradic
#155F1F #15305F #5F1555 #5F4415
square
#155F1F #15305F #5F1555 #5F4415
split-complementary
#155F1F #44155F #5F1530
monochromatic
#061908 #0A2D0F #155F1F #20912F #2BC340
Accessibility & contrast
On white
7.81
#155F1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#155F1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F1F
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F1F | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615618
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f1f; /* rgb */ color: rgb(21, 95, 31); /* oklch */ color: oklch(42.7% 0.120 145.0);
Tailwind
colors: {
custom: {
50: '#608d5d',
500: '#155f1f',
950: '#000000',
},
}SCSS
$custom: #155f1f; $custom-light: #608d5d; $custom-dark: #000000;
JSON
{
"hex": "#155f1f",
"rgb": {
"r": 21,
"g": 95,
"b": 31
},
"hsl": {
"h": 128.108,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.4266,
"c": 0.12031,
"h": 145
},
"luminance": 0.08443
}Semantic roles & 50–950 ramp
primary
#155F1F
secondary
#963A8A
accent
#41D0E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79