#126E28#126E28
#126E28 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.133 H 146.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #126E28 |
|---|---|
| RGB | rgb(18, 110, 40) |
| HSL | hsl(134, 72%, 25%) |
| HSV | hsv(134, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 63.6%, 56.9%) |
| CIE-LAB | lab(40.30, -41.31, 31.22) |
| CIE-LCH | lch(40.30, 51.78, 142.93°) |
| OKLab | oklab(47.17% -0.1112 0.0735) |
| OKLCH | oklch(47.17% 0.133 146.5) |
| XYZ | xyz(6.2079, 11.4329, 3.8867) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.10
Darkgreen
#006400
ΔE00 5.29
Deep Green
#02590F
ΔE00 6.96
Tree Green
#2A7E19
ΔE00 7.23
Jungle Green
#048243
ΔE00 7.46
Forest Green
#2D5A27
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E28 #6E1258
analogous
#2A6E12 #126E28 #126E56
triadic
#126E28 #28126E #6E2812
tetradic
#126E28 #122A6E #6E1258 #6E5612
square
#126E28 #122A6E #6E1258 #6E5612
split-complementary
#126E28 #56126E #6E122A
monochromatic
#041A0A #093915 #126E28 #1BA33B #23D74E
Accessibility & contrast
On white
6.39
#126E28 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#126E28 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E28
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E28 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706320
Deuteranopia (green-blind)
#665C2E
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e28; /* rgb */ color: rgb(18, 110, 40); /* oklch */ color: oklch(47.2% 0.133 146.5);
Tailwind
colors: {
custom: {
50: '#629965',
500: '#126e28',
950: '#000000',
},
}SCSS
$custom: #126e28; $custom-light: #629965; $custom-dark: #000000;
JSON
{
"hex": "#126e28",
"rgb": {
"r": 18,
"g": 110,
"b": 40
},
"hsl": {
"h": 134.348,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47166,
"c": 0.13325,
"h": 146.5
},
"luminance": 0.11434
}Semantic roles & 50–950 ramp
primary
#126E28
secondary
#A5378B
accent
#39C3EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A