#145F20#145F20
#145F20 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.120 H 145.4°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #145F20 |
|---|---|
| RGB | rgb(20, 95, 32) |
| HSL | hsl(130, 65%, 23%) |
| HSV | hsv(130, 79%, 37%) |
| CMYK | cmyk(78.9%, 0%, 66.3%, 62.7%) |
| CIE-LAB | lab(34.88, -36.54, 29.04) |
| CIE-LCH | lch(34.88, 46.68, 141.53°) |
| OKLab | oklab(42.65% -0.0986 0.068) |
| OKLCH | oklch(42.65% 0.12 145.4) |
| XYZ | xyz(4.6411, 8.4369, 2.7501) |
| Luminance | 0.0844 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.80
Forest Green
#2D5A27
ΔE00 3.94
Forest
#0B5509
ΔE00 3.98
Darkgreen
#006400
ΔE00 4.80
Pine
#2B5D34
ΔE00 5.26
Spruce
#0A5F38
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#145F20 #5F1453
analogous
#2E5F14 #145F20 #145F45
triadic
#145F20 #20145F #5F2014
tetradic
#145F20 #142E5F #5F1453 #5F4514
square
#145F20 #142E5F #5F1453 #5F4514
split-complementary
#145F20 #45145F #5F142E
monochromatic
#051909 #092C0F #145F20 #1F9231 #29C442
Accessibility & contrast
On white
7.81
#145F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#145F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #145F20
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##145F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##145F20 | 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)
#615619
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #145f20; /* rgb */ color: rgb(20, 95, 32); /* oklch */ color: oklch(42.6% 0.120 145.4);
Tailwind
colors: {
custom: {
50: '#5f8d5e',
500: '#145f20',
950: '#000000',
},
}SCSS
$custom: #145f20; $custom-light: #5f8d5e; $custom-dark: #000000;
JSON
{
"hex": "#145f20",
"rgb": {
"r": 20,
"g": 95,
"b": 32
},
"hsl": {
"h": 129.6,
"s": 65.217,
"l": 22.549
},
"oklch": {
"l": 0.42648,
"c": 0.11978,
"h": 145.4
},
"luminance": 0.08437
}Semantic roles & 50–950 ramp
primary
#145F20
secondary
#973887
accent
#40CDE8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79