#126C1A#126C1A
#126C1A is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.141 H 143.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #126C1A |
|---|---|
| RGB | rgb(18, 108, 26) |
| HSL | hsl(125, 71%, 25%) |
| HSV | hsv(125, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 75.9%, 57.6%) |
| CIE-LAB | lab(39.46, -42.22, 36.72) |
| CIE-LCH | lch(39.46, 55.95, 138.98°) |
| OKLab | oklab(46.43% -0.1142 0.0835) |
| OKLCH | oklch(46.43% 0.141 143.8) |
| XYZ | xyz(5.7981, 10.9276, 2.7807) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.32
Deep Green
#02590F
ΔE00 6.15
Darkish Green
#287C37
ΔE00 6.33
Tree Green
#2A7E19
ΔE00 6.76
Forest
#0B5509
ΔE00 7.36
Green
#008000
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C1A #6C1264
analogous
#376C12 #126C1A #126C47
triadic
#126C1A #1A126C #6C1A12
tetradic
#126C1A #12376C #6C1264 #6C4712
square
#126C1A #12376C #6C1264 #6C4712
split-complementary
#126C1A #47126C #6C1237
monochromatic
#041A06 #09380D #126C1A #1BA027 #23D533
Accessibility & contrast
On white
6.59
#126C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C1A
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C1A | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E610C
Deuteranopia (green-blind)
#655A22
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c1a; /* rgb */ color: rgb(18, 108, 26); /* oklch */ color: oklch(46.4% 0.141 143.8);
Tailwind
colors: {
custom: {
50: '#63975c',
500: '#126c1a',
950: '#000000',
},
}SCSS
$custom: #126c1a; $custom-light: #63975c; $custom-dark: #000000;
JSON
{
"hex": "#126c1a",
"rgb": {
"r": 18,
"g": 108,
"b": 26
},
"hsl": {
"h": 125.333,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46425,
"c": 0.14147,
"h": 143.8
},
"luminance": 0.10928
}Semantic roles & 50–950 ramp
primary
#126C1A
secondary
#A3369A
accent
#3ADEEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79