#126026#126026
#126026 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.116 H 147.3°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #126026 |
|---|---|
| RGB | rgb(18, 96, 38) |
| HSL | hsl(135, 68%, 22%) |
| HSV | hsv(135, 81%, 38%) |
| CMYK | cmyk(81.3%, 0%, 60.4%, 62.4%) |
| CIE-LAB | lab(35.27, -36.41, 26.37) |
| CIE-LCH | lch(35.27, 44.95, 144.08°) |
| OKLab | oklab(42.99% -0.0979 0.0628) |
| OKLCH | oklch(42.99% 0.116 147.3) |
| XYZ | xyz(4.7818, 8.6337, 3.2478) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.84
Forest Green
#2D5A27
ΔE00 4.03
Pine
#2B5D34
ΔE00 4.53
Spruce
#0A5F38
ΔE00 4.95
Forest
#0B5509
ΔE00 5.00
Darkgreen
#006400
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126026 #60124C
analogous
#256012 #126026 #12604D
triadic
#126026 #261260 #602612
tetradic
#126026 #122560 #60124C #604D12
square
#126026 #122560 #60124C #604D12
split-complementary
#126026 #4D1260 #601225
monochromatic
#051A0A #082C12 #126026 #1C943A #25C74F
Accessibility & contrast
On white
7.70
#126026 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#126026 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126026
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126026 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126026 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615720
Deuteranopia (green-blind)
#58512B
Tritanopia (blue-blind)
#005E53
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #126026; /* rgb */ color: rgb(18, 96, 38); /* oklch */ color: oklch(43.0% 0.116 147.3);
Tailwind
colors: {
custom: {
50: '#5f8e62',
500: '#126026',
950: '#000000',
},
}SCSS
$custom: #126026; $custom-light: #5f8e62; $custom-dark: #000000;
JSON
{
"hex": "#126026",
"rgb": {
"r": 18,
"g": 96,
"b": 38
},
"hsl": {
"h": 135.385,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.42985,
"c": 0.11634,
"h": 147.3
},
"luminance": 0.08634
}Semantic roles & 50–950 ramp
primary
#126026
secondary
#98367F
accent
#3DBEEB
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79