#126E2A#126E2A
#126E2A is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.132 H 147.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #126E2A |
|---|---|
| RGB | rgb(18, 110, 42) |
| HSL | hsl(136, 72%, 25%) |
| HSV | hsv(136, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 61.8%, 56.9%) |
| CIE-LAB | lab(40.32, -41.04, 30.23) |
| CIE-LCH | lch(40.32, 50.97, 143.62°) |
| OKLab | oklab(47.19% -0.1103 0.0715) |
| OKLCH | oklch(47.19% 0.132 147) |
| XYZ | xyz(6.2428, 11.4469, 4.0705) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.07
Darkgreen
#006400
ΔE00 5.59
Deep Green
#02590F
ΔE00 7.06
Jungle Green
#048243
ΔE00 7.32
Tree Green
#2A7E19
ΔE00 7.47
Forest Green
#2D5A27
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E2A #6E1256
analogous
#286E12 #126E2A #126E58
triadic
#126E2A #2A126E #6E2A12
tetradic
#126E2A #12286E #6E1256 #6E5812
square
#126E2A #12286E #6E1256 #6E5812
split-complementary
#126E2A #58126E #6E1228
monochromatic
#041A0A #093916 #126E2A #1BA33E #23D752
Accessibility & contrast
On white
6.38
#126E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#126E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E2A
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E2A | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6323
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e2a; /* rgb */ color: rgb(18, 110, 42); /* oklch */ color: oklch(47.2% 0.132 147.0);
Tailwind
colors: {
custom: {
50: '#629966',
500: '#126e2a',
950: '#000000',
},
}SCSS
$custom: #126e2a; $custom-light: #629966; $custom-dark: #000000;
JSON
{
"hex": "#126e2a",
"rgb": {
"r": 18,
"g": 110,
"b": 42
},
"hsl": {
"h": 135.652,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47193,
"c": 0.1315,
"h": 147
},
"luminance": 0.11448
}Semantic roles & 50–950 ramp
primary
#126E2A
secondary
#A53788
accent
#39BFEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A