#126A2E#126A2E
#126A2E is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.122 H 148.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #126A2E |
|---|---|
| RGB | rgb(18, 106, 46) |
| HSL | hsl(139, 71%, 24%) |
| HSV | hsv(139, 83%, 42%) |
| CMYK | cmyk(83%, 0%, 56.6%, 58.4%) |
| CIE-LAB | lab(38.96, -38.95, 26.51) |
| CIE-LCH | lch(38.96, 47.11, 145.76°) |
| OKLab | oklab(46.08% -0.1046 0.0637) |
| OKLCH | oklch(46.08% 0.122 148.7) |
| XYZ | xyz(5.8961, 10.6332, 4.3259) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.91
Pine
#2B5D34
ΔE00 6.10
Darkgreen
#006400
ΔE00 6.22
Forest Green
#2D5A27
ΔE00 6.39
Deep Green
#02590F
ΔE00 6.41
Darkish Green
#287C37
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126A2E #6A124E
analogous
#226A12 #126A2E #126A5A
triadic
#126A2E #2E126A #6A2E12
tetradic
#126A2E #12226A #6A124E #6A5A12
square
#126A2E #12226A #6A124E #6A5A12
split-complementary
#126A2E #5A126A #6A1222
monochromatic
#041A0B #093617 #126A2E #1B9E45 #24D35B
Accessibility & contrast
On white
6.72
#126A2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#126A2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126A2E
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126A2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126A2E | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6029
Deuteranopia (green-blind)
#615933
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #126a2e; /* rgb */ color: rgb(18, 106, 46); /* oklch */ color: oklch(46.1% 0.122 148.7);
Tailwind
colors: {
custom: {
50: '#619568',
500: '#126a2e',
950: '#000000',
},
}SCSS
$custom: #126a2e; $custom-light: #619568; $custom-dark: #000000;
JSON
{
"hex": "#126a2e",
"rgb": {
"r": 18,
"g": 106,
"b": 46
},
"hsl": {
"h": 139.091,
"s": 70.968,
"l": 24.314
},
"oklch": {
"l": 0.46075,
"c": 0.12248,
"h": 148.7
},
"luminance": 0.10634
}Semantic roles & 50–950 ramp
primary
#126A2E
secondary
#A2367F
accent
#3AB5EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A