#126E22#126E22
#126E22 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.138 H 145.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #126E22 |
|---|---|
| RGB | rgb(18, 110, 34) |
| HSL | hsl(130, 72%, 25%) |
| HSV | hsv(130, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 69.1%, 56.9%) |
| CIE-LAB | lab(40.24, -42.07, 34.04) |
| CIE-LCH | lch(40.24, 54.12, 141.02°) |
| OKLab | oklab(47.1% -0.1134 0.0789) |
| OKLCH | oklch(47.1% 0.138 145.2) |
| XYZ | xyz(6.1137, 11.3952, 3.3903) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.50
Darkish Green
#287C37
ΔE00 5.34
Tree Green
#2A7E19
ΔE00 6.64
Deep Green
#02590F
ΔE00 6.80
Green
#008000
ΔE00 7.58
Jungle Green
#048243
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E22 #6E125E
analogous
#306E12 #126E22 #126E50
triadic
#126E22 #22126E #6E2212
tetradic
#126E22 #12306E #6E125E #6E5012
square
#126E22 #12306E #6E125E #6E5012
split-complementary
#126E22 #50126E #6E1230
monochromatic
#041A08 #093912 #126E22 #1BA332 #23D743
Accessibility & contrast
On white
6.40
#126E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#126E22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E22
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E22 | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706318
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e22; /* rgb */ color: rgb(18, 110, 34); /* oklch */ color: oklch(47.1% 0.138 145.2);
Tailwind
colors: {
custom: {
50: '#639961',
500: '#126e22',
950: '#000000',
},
}SCSS
$custom: #126e22; $custom-light: #639961; $custom-dark: #000000;
JSON
{
"hex": "#126e22",
"rgb": {
"r": 18,
"g": 110,
"b": 34
},
"hsl": {
"h": 130.435,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47095,
"c": 0.13817,
"h": 145.2
},
"luminance": 0.11396
}Semantic roles & 50–950 ramp
primary
#126E22
secondary
#A53792
accent
#39CFEF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79