#126E2B#126E2B
#126E2B is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.2% C 0.131 H 147.3°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #126E2B |
|---|---|
| RGB | rgb(18, 110, 43) |
| HSL | hsl(136, 72%, 25%) |
| HSV | hsv(136, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 60.9%, 56.9%) |
| CIE-LAB | lab(40.34, -40.89, 29.74) |
| CIE-LCH | lch(40.34, 50.56, 143.98°) |
| OKLab | oklab(47.21% -0.1099 0.0706) |
| OKLCH | oklch(47.21% 0.131 147.3) |
| XYZ | xyz(6.2609, 11.4541, 4.1659) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.06
Darkgreen
#006400
ΔE00 5.75
Deep Green
#02590F
ΔE00 7.12
Jungle Green
#048243
ΔE00 7.25
Forest Green
#2D5A27
ΔE00 7.59
Tree Green
#2A7E19
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E2B #6E1255
analogous
#276E12 #126E2B #126E59
triadic
#126E2B #2B126E #6E2B12
tetradic
#126E2B #12276E #6E1255 #6E5912
square
#126E2B #12276E #6E1255 #6E5912
split-complementary
#126E2B #59126E #6E1227
monochromatic
#041A0A #093916 #126E2B #1BA340 #23D754
Accessibility & contrast
On white
6.38
#126E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#126E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E2B
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E2B | 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)
#6F6324
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e2b; /* rgb */ color: rgb(18, 110, 43); /* oklch */ color: oklch(47.2% 0.131 147.3);
Tailwind
colors: {
custom: {
50: '#629966',
500: '#126e2b',
950: '#000000',
},
}SCSS
$custom: #126e2b; $custom-light: #629966; $custom-dark: #000000;
JSON
{
"hex": "#126e2b",
"rgb": {
"r": 18,
"g": 110,
"b": 43
},
"hsl": {
"h": 136.304,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47207,
"c": 0.13061,
"h": 147.3
},
"luminance": 0.11455
}Semantic roles & 50–950 ramp
primary
#126E2B
secondary
#A53787
accent
#39BDEF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A