#156227#156227
#156227 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.117 H 147.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #156227 |
|---|---|
| RGB | rgb(21, 98, 39) |
| HSL | hsl(134, 65%, 23%) |
| HSV | hsv(134, 79%, 38%) |
| CMYK | cmyk(78.6%, 0%, 60.2%, 61.6%) |
| CIE-LAB | lab(36.06, -36.53, 26.79) |
| CIE-LCH | lch(36.06, 45.30, 143.74°) |
| OKLab | oklab(43.66% -0.0984 0.0638) |
| OKLCH | oklch(43.66% 0.117 147) |
| XYZ | xyz(5.0428, 9.0407, 3.3983) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.17
Forest Green
#2D5A27
ΔE00 4.25
Pine
#2B5D34
ΔE00 4.71
Spruce
#0A5F38
ΔE00 5.19
Forest
#0B5509
ΔE00 5.37
Darkgreen
#006400
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#156227 #621550
analogous
#296215 #156227 #15624D
triadic
#156227 #271562 #622715
tetradic
#156227 #152962 #621550 #624D15
square
#156227 #152962 #621550 #624D15
split-complementary
#156227 #4D1562 #621529
monochromatic
#05190A #0A3013 #156227 #20943B #2BC74F
Accessibility & contrast
On white
7.48
#156227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#156227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #156227
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##156227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##156227 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635921
Deuteranopia (green-blind)
#5A522C
Tritanopia (blue-blind)
#006055
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #156227; /* rgb */ color: rgb(21, 98, 39); /* oklch */ color: oklch(43.7% 0.117 147.0);
Tailwind
colors: {
custom: {
50: '#608f63',
500: '#156227',
950: '#000000',
},
}SCSS
$custom: #156227; $custom-light: #608f63; $custom-dark: #000000;
JSON
{
"hex": "#156227",
"rgb": {
"r": 21,
"g": 98,
"b": 39
},
"hsl": {
"h": 134.026,
"s": 64.706,
"l": 23.333
},
"oklch": {
"l": 0.43664,
"c": 0.11723,
"h": 147
},
"luminance": 0.09041
}Semantic roles & 50–950 ramp
primary
#156227
secondary
#993A83
accent
#40C1E8
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79