#155F12#155F12
#155F12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.130 H 142.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #155F12 |
|---|---|
| RGB | rgb(21, 95, 18) |
| HSL | hsl(118, 68%, 22%) |
| HSV | hsv(118, 81%, 37%) |
| CMYK | cmyk(77.9%, 0%, 81.1%, 62.7%) |
| CIE-LAB | lab(34.78, -37.84, 35.19) |
| CIE-LCH | lch(34.78, 51.67, 137.08°) |
| OKLab | oklab(42.53% -0.1029 0.0791) |
| OKLCH | oklch(42.53% 0.13 142.4) |
| XYZ | xyz(4.5104, 8.3870, 1.9533) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.21
Darkgreen
#006400
ΔE00 2.76
Forest
#0B5509
ΔE00 3.17
Forest Green
#2D5A27
ΔE00 5.15
Bottle Green
#044A05
ΔE00 6.59
Darkgreen (survey)
#054907
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F12 #5C125F
analogous
#3C5F12 #155F12 #125F35
triadic
#155F12 #12155F #5F1215
tetradic
#155F12 #123C5F #5C125F #5F3512
square
#155F12 #123C5F #5C125F #5F3512
split-complementary
#155F12 #35125F #5F123C
monochromatic
#061A05 #0A2C08 #155F12 #20921C #2CC625
Accessibility & contrast
On white
7.84
#155F12 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#155F12 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F12
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F12 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f12; /* rgb */ color: rgb(21, 95, 18); /* oklch */ color: oklch(42.5% 0.130 142.4);
Tailwind
colors: {
custom: {
50: '#608d56',
500: '#155f12',
950: '#000000',
},
}SCSS
$custom: #155f12; $custom-light: #608d56; $custom-dark: #000000;
JSON
{
"hex": "#155f12",
"rgb": {
"r": 21,
"g": 95,
"b": 18
},
"hsl": {
"h": 117.662,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.42532,
"c": 0.12979,
"h": 142.4
},
"luminance": 0.08388
}Semantic roles & 50–950 ramp
primary
#155F12
secondary
#933697
accent
#3DEBE4
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78