#145227#145227
#145227 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.8% C 0.094 H 149.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #145227 |
|---|---|
| RGB | rgb(20, 82, 39) |
| HSL | hsl(138, 61%, 20%) |
| HSV | hsv(138, 76%, 32%) |
| CMYK | cmyk(75.6%, 0%, 52.4%, 67.8%) |
| CIE-LAB | lab(30.23, -30.24, 19.65) |
| CIE-LCH | lch(30.23, 36.06, 146.98°) |
| OKLab | oklab(38.83% -0.0814 0.0479) |
| OKLCH | oklch(38.83% 0.094 149.5) |
| XYZ | xyz(3.6717, 6.3294, 2.9473) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine Green
#0A481E
ΔE00 3.12
Pine
#2B5D34
ΔE00 4.22
Forest Green
#2D5A27
ΔE00 4.50
Spruce
#0A5F38
ΔE00 4.83
British Racing Green
#05480D
ΔE00 5.09
Evergreen
#05472A
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#145227 #52143F
analogous
#205214 #145227 #145246
triadic
#145227 #271452 #522714
tetradic
#145227 #142052 #52143F #524614
square
#145227 #142052 #52143F #524614
split-complementary
#145227 #461452 #521420
monochromatic
#06190C #082110 #145227 #20833E #2CB456
Accessibility & contrast
On white
9.27
#145227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#145227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #145227
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##145227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##145227 | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 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: #145227; /* rgb */ color: rgb(20, 82, 39); /* oklch */ color: oklch(38.8% 0.094 149.5);
Tailwind
colors: {
custom: {
50: '#5b8362',
500: '#145227',
950: '#000000',
},
}SCSS
$custom: #145227; $custom-light: #5b8362; $custom-dark: #000000;
JSON
{
"hex": "#145227",
"rgb": {
"r": 20,
"g": 82,
"b": 39
},
"hsl": {
"h": 138.387,
"s": 60.784,
"l": 20
},
"oklch": {
"l": 0.38832,
"c": 0.09449,
"h": 149.5
},
"luminance": 0.0633
}Semantic roles & 50–950 ramp
primary
#145227
secondary
#8A3871
accent
#44B3E4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79