#145F23#145F23
#145F23 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.117 H 146.2°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #145F23 |
|---|---|
| RGB | rgb(20, 95, 35) |
| HSL | hsl(132, 65%, 23%) |
| HSV | hsv(132, 79%, 37%) |
| CMYK | cmyk(78.9%, 0%, 63.2%, 62.7%) |
| CIE-LAB | lab(34.91, -36.13, 27.54) |
| CIE-LCH | lch(34.91, 45.43, 142.69°) |
| OKLab | oklab(42.69% -0.0974 0.0651) |
| OKLCH | oklch(42.69% 0.117 146.2) |
| XYZ | xyz(4.6837, 8.4540, 2.9747) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.25
Forest Green
#2D5A27
ΔE00 3.79
Forest
#0B5509
ΔE00 4.39
Pine
#2B5D34
ΔE00 4.77
Darkgreen
#006400
ΔE00 5.38
Spruce
#0A5F38
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#145F23 #5F1450
analogous
#2B5F14 #145F23 #145F48
triadic
#145F23 #23145F #5F2314
tetradic
#145F23 #142B5F #5F1450 #5F4814
square
#145F23 #142B5F #5F1450 #5F4814
split-complementary
#145F23 #48145F #5F142B
monochromatic
#051909 #092C10 #145F23 #1F9236 #29C448
Accessibility & contrast
On white
7.80
#145F23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#145F23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #145F23
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##145F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##145F23 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561D
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #145f23; /* rgb */ color: rgb(20, 95, 35); /* oklch */ color: oklch(42.7% 0.117 146.2);
Tailwind
colors: {
custom: {
50: '#5f8d60',
500: '#145f23',
950: '#000000',
},
}SCSS
$custom: #145f23; $custom-light: #5f8d60; $custom-dark: #000000;
JSON
{
"hex": "#145f23",
"rgb": {
"r": 20,
"g": 95,
"b": 35
},
"hsl": {
"h": 132,
"s": 65.217,
"l": 22.549
},
"oklch": {
"l": 0.42688,
"c": 0.11713,
"h": 146.2
},
"luminance": 0.08454
}Semantic roles & 50–950 ramp
primary
#145F23
secondary
#973884
accent
#40C6E8
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79