#155227#155227
#155227 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.9% C 0.094 H 149.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #155227 |
|---|---|
| RGB | rgb(21, 82, 39) |
| HSL | hsl(138, 59%, 20%) |
| HSV | hsv(138, 74%, 32%) |
| CMYK | cmyk(74.4%, 0%, 52.4%, 67.8%) |
| CIE-LAB | lab(30.25, -30.03, 19.69) |
| CIE-LCH | lch(30.25, 35.91, 146.75°) |
| OKLab | oklab(38.86% -0.0809 0.048) |
| OKLCH | oklch(38.86% 0.094 149.3) |
| XYZ | xyz(3.6925, 6.3401, 2.9482) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.13
Pine
#2B5D34
ΔE00 4.18
Forest Green
#2D5A27
ΔE00 4.43
Spruce
#0A5F38
ΔE00 4.87
British Racing Green
#05480D
ΔE00 5.08
Evergreen
#05472A
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155227 #521540
analogous
#215215 #155227 #155245
triadic
#155227 #271552 #522715
tetradic
#155227 #152152 #521540 #524515
square
#155227 #152152 #521540 #524515
split-complementary
#155227 #451552 #521521
monochromatic
#06180C #092110 #155227 #21833E #2EB355
Accessibility & contrast
On white
9.26
#155227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#155227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155227
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155227 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534A24
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #155227; /* rgb */ color: rgb(21, 82, 39); /* oklch */ color: oklch(38.9% 0.094 149.3);
Tailwind
colors: {
custom: {
50: '#5c8362',
500: '#155227',
950: '#000000',
},
}SCSS
$custom: #155227; $custom-light: #5c8362; $custom-dark: #000000;
JSON
{
"hex": "#155227",
"rgb": {
"r": 21,
"g": 82,
"b": 39
},
"hsl": {
"h": 137.705,
"s": 59.223,
"l": 20.196
},
"oklch": {
"l": 0.38861,
"c": 0.09409,
"h": 149.3
},
"luminance": 0.0634
}Semantic roles & 50–950 ramp
primary
#155227
secondary
#8A3972
accent
#45B4E2
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79