#126520#126520
#126520 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.128 H 145.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #126520 |
|---|---|
| RGB | rgb(18, 101, 32) |
| HSL | hsl(130, 70%, 23%) |
| HSV | hsv(130, 82%, 40%) |
| CMYK | cmyk(82.2%, 0%, 68.3%, 60.4%) |
| CIE-LAB | lab(37.00, -39.09, 31.41) |
| CIE-LCH | lch(37.00, 50.15, 141.22°) |
| OKLab | oklab(44.4% -0.1054 0.0731) |
| OKLCH | oklch(44.4% 0.128 145.3) |
| XYZ | xyz(5.1635, 9.5396, 2.9354) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.79
Deep Green
#02590F
ΔE00 4.04
Forest
#0B5509
ΔE00 5.36
Forest Green
#2D5A27
ΔE00 5.45
Pine
#2B5D34
ΔE00 6.51
Spruce
#0A5F38
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126520 #651257
analogous
#2D6512 #126520 #126549
triadic
#126520 #201265 #652012
tetradic
#126520 #122D65 #651257 #654912
square
#126520 #122D65 #651257 #654912
split-complementary
#126520 #491265 #65122D
monochromatic
#051A08 #093110 #126520 #1B9930 #25CD41
Accessibility & contrast
On white
7.22
#126520 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#126520 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126520
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126520 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#5E5526
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #126520; /* rgb */ color: rgb(18, 101, 32); /* oklch */ color: oklch(44.4% 0.128 145.3);
Tailwind
colors: {
custom: {
50: '#60925f',
500: '#126520',
950: '#000000',
},
}SCSS
$custom: #126520; $custom-light: #60925f; $custom-dark: #000000;
JSON
{
"hex": "#126520",
"rgb": {
"r": 18,
"g": 101,
"b": 32
},
"hsl": {
"h": 130.12,
"s": 69.748,
"l": 23.333
},
"oklch": {
"l": 0.44402,
"c": 0.12829,
"h": 145.3
},
"luminance": 0.0954
}Semantic roles & 50–950 ramp
primary
#126520
secondary
#9D368B
accent
#3BCFED
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79