#126A2A#126A2A
#126A2A is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.126 H 147.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #126A2A |
|---|---|
| RGB | rgb(18, 106, 42) |
| HSL | hsl(136, 71%, 24%) |
| HSV | hsv(136, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 60.4%, 58.4%) |
| CIE-LAB | lab(38.90, -39.57, 28.57) |
| CIE-LCH | lch(38.90, 48.80, 144.17°) |
| OKLab | oklab(46.02% -0.1064 0.0679) |
| OKLCH | oklch(46.02% 0.126 147.4) |
| XYZ | xyz(5.8210, 10.6031, 3.9299) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.43
Deep Green
#02590F
ΔE00 6.01
Darkish Green
#287C37
ΔE00 6.33
Forest Green
#2D5A27
ΔE00 6.42
Pine
#2B5D34
ΔE00 6.54
Spruce
#0A5F38
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A2A #6A1252
analogous
#266A12 #126A2A #126A56
triadic
#126A2A #2A126A #6A2A12
tetradic
#126A2A #12266A #6A1252 #6A5612
square
#126A2A #12266A #6A1252 #6A5612
split-complementary
#126A2A #56126A #6A1226
monochromatic
#041A0A #093615 #126A2A #1B9E3F #24D353
Accessibility & contrast
On white
6.73
#126A2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#126A2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A2A
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A2A | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6024
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #126a2a; /* rgb */ color: rgb(18, 106, 42); /* oklch */ color: oklch(46.0% 0.126 147.4);
Tailwind
colors: {
custom: {
50: '#619665',
500: '#126a2a',
950: '#000000',
},
}SCSS
$custom: #126a2a; $custom-light: #619665; $custom-dark: #000000;
JSON
{
"hex": "#126a2a",
"rgb": {
"r": 18,
"g": 106,
"b": 42
},
"hsl": {
"h": 136.364,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.46015,
"c": 0.12621,
"h": 147.4
},
"luminance": 0.10604
}Semantic roles & 50–950 ramp
primary
#126A2A
secondary
#A23684
accent
#3ABDEE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A