#126020#126020
#126020 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.122 H 145.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #126020 |
|---|---|
| RGB | rgb(18, 96, 32) |
| HSL | hsl(131, 68%, 22%) |
| HSV | hsv(131, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 66.7%, 62.4%) |
| CIE-LAB | lab(35.20, -37.26, 29.39) |
| CIE-LCH | lch(35.20, 47.45, 141.73°) |
| OKLab | oklab(42.9% -0.1004 0.0688) |
| OKLCH | oklch(42.9% 0.122 145.6) |
| XYZ | xyz(4.6927, 8.5981, 2.7785) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.93
Forest
#0B5509
ΔE00 4.19
Forest Green
#2D5A27
ΔE00 4.25
Darkgreen
#006400
ΔE00 4.59
Pine
#2B5D34
ΔE00 5.47
Spruce
#0A5F38
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126020 #601252
analogous
#2B6012 #126020 #126047
triadic
#126020 #201260 #602012
tetradic
#126020 #122B60 #601252 #604712
square
#126020 #122B60 #601252 #604712
split-complementary
#126020 #471260 #60122B
monochromatic
#051A09 #082C0F #126020 #1C9431 #25C742
Accessibility & contrast
On white
7.72
#126020 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#126020 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126020
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126020 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126020 | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625619
Deuteranopia (green-blind)
#595026
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126020; /* rgb */ color: rgb(18, 96, 32); /* oklch */ color: oklch(42.9% 0.122 145.6);
Tailwind
colors: {
custom: {
50: '#5f8e5e',
500: '#126020',
950: '#000000',
},
}SCSS
$custom: #126020; $custom-light: #5f8e5e; $custom-dark: #000000;
JSON
{
"hex": "#126020",
"rgb": {
"r": 18,
"g": 96,
"b": 32
},
"hsl": {
"h": 130.769,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42904,
"c": 0.12174,
"h": 145.6
},
"luminance": 0.08599
}Semantic roles & 50–950 ramp
primary
#126020
secondary
#983686
accent
#3DCCEB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79