#126220#126220
#126220 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.5% C 0.124 H 145.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #126220 |
|---|---|
| RGB | rgb(18, 98, 32) |
| HSL | hsl(131, 69%, 23%) |
| HSV | hsv(131, 82%, 38%) |
| CMYK | cmyk(81.6%, 0%, 67.3%, 61.6%) |
| CIE-LAB | lab(35.92, -38.00, 30.21) |
| CIE-LCH | lch(35.92, 48.54, 141.52°) |
| OKLab | oklab(43.5% -0.1025 0.0705) |
| OKLCH | oklch(43.5% 0.124 145.5) |
| XYZ | xyz(4.8775, 8.9677, 2.8401) |
| Luminance | 0.0897 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.30
Darkgreen
#006400
ΔE00 4.20
Forest
#0B5509
ΔE00 4.61
Forest Green
#2D5A27
ΔE00 4.70
Pine
#2B5D34
ΔE00 5.86
Spruce
#0A5F38
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126220 #621254
analogous
#2C6212 #126220 #126248
triadic
#126220 #201262 #622012
tetradic
#126220 #122C62 #621254 #624812
square
#126220 #122C62 #621254 #624812
split-complementary
#126220 #481262 #62122C
monochromatic
#051A08 #092E0F #126220 #1B9631 #25C942
Accessibility & contrast
On white
7.52
#126220 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#126220 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #126220
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126220 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126220 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645818
Deuteranopia (green-blind)
#5B5226
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #126220; /* rgb */ color: rgb(18, 98, 32); /* oklch */ color: oklch(43.5% 0.124 145.5);
Tailwind
colors: {
custom: {
50: '#5f905e',
500: '#126220',
950: '#000000',
},
}SCSS
$custom: #126220; $custom-light: #5f905e; $custom-dark: #000000;
JSON
{
"hex": "#126220",
"rgb": {
"r": 18,
"g": 98,
"b": 32
},
"hsl": {
"h": 130.5,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.43504,
"c": 0.12438,
"h": 145.5
},
"luminance": 0.08968
}Semantic roles & 50–950 ramp
primary
#126220
secondary
#9A3689
accent
#3CCDEC
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79