#126E15#126E15
#126E15 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.147 H 143.1°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #126E15 |
|---|---|
| RGB | rgb(18, 110, 21) |
| HSL | hsl(122, 72%, 25%) |
| HSV | hsv(122, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 80.9%, 56.9%) |
| CIE-LAB | lab(40.14, -43.32, 39.32) |
| CIE-LCH | lch(40.14, 58.51, 137.77°) |
| OKLab | oklab(46.98% -0.1174 0.0882) |
| OKLCH | oklch(46.98% 0.147 143.1) |
| XYZ | xyz(5.9604, 11.3339, 2.5828) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.51
Tree Green
#2A7E19
ΔE00 5.91
Darkish Green
#287C37
ΔE00 6.23
Green
#008000
ΔE00 6.61
Deep Green
#02590F
ΔE00 6.93
Dark Grass Green
#388004
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E15 #6E126B
analogous
#3D6E12 #126E15 #126E43
triadic
#126E15 #15126E #6E1512
tetradic
#126E15 #123D6E #6E126B #6E4312
square
#126E15 #123D6E #6E126B #6E4312
split-complementary
#126E15 #43126E #6E123D
monochromatic
#041A05 #09390B #126E15 #1BA31F #23D729
Accessibility & contrast
On white
6.43
#126E15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#126E15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E15
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E15 | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706301
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#006B5D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e15; /* rgb */ color: rgb(18, 110, 21); /* oklch */ color: oklch(47.0% 0.147 143.1);
Tailwind
colors: {
custom: {
50: '#64995a',
500: '#126e15',
950: '#000000',
},
}SCSS
$custom: #126e15; $custom-light: #64995a; $custom-dark: #000000;
JSON
{
"hex": "#126e15",
"rgb": {
"r": 18,
"g": 110,
"b": 21
},
"hsl": {
"h": 121.957,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.46979,
"c": 0.14688,
"h": 143.1
},
"luminance": 0.11335
}Semantic roles & 50–950 ramp
primary
#126E15
secondary
#A537A2
accent
#39E9EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79