#126022#126022
#126022 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.120 H 146.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #126022 |
|---|---|
| RGB | rgb(18, 96, 34) |
| HSL | hsl(132, 68%, 22%) |
| HSV | hsv(132, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 64.6%, 62.4%) |
| CIE-LAB | lab(35.22, -36.99, 28.41) |
| CIE-LCH | lch(35.22, 46.64, 142.48°) |
| OKLab | oklab(42.93% -0.0996 0.0669) |
| OKLCH | oklch(42.93% 0.12 146.1) |
| XYZ | xyz(4.7207, 8.6093, 2.9260) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.20
Forest Green
#2D5A27
ΔE00 4.14
Forest
#0B5509
ΔE00 4.43
Darkgreen
#006400
ΔE00 4.98
Pine
#2B5D34
ΔE00 5.16
Spruce
#0A5F38
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126022 #601250
analogous
#296012 #126022 #126049
triadic
#126022 #221260 #602212
tetradic
#126022 #122960 #601250 #604912
square
#126022 #122960 #601250 #604912
split-complementary
#126022 #491260 #601229
monochromatic
#051A09 #082C10 #126022 #1C9434 #25C747
Accessibility & contrast
On white
7.71
#126022 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#126022 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126022
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126022 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126022 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61571B
Deuteranopia (green-blind)
#595027
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126022; /* rgb */ color: rgb(18, 96, 34); /* oklch */ color: oklch(42.9% 0.120 146.1);
Tailwind
colors: {
custom: {
50: '#5f8e5f',
500: '#126022',
950: '#000000',
},
}SCSS
$custom: #126022; $custom-light: #5f8e5f; $custom-dark: #000000;
JSON
{
"hex": "#126022",
"rgb": {
"r": 18,
"g": 96,
"b": 34
},
"hsl": {
"h": 132.308,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42929,
"c": 0.11999,
"h": 146.1
},
"luminance": 0.0861
}Semantic roles & 50–950 ramp
primary
#126022
secondary
#983684
accent
#3DC7EB
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79