#126C26#126C26
#126C26 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.132 H 146.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #126C26 |
|---|---|
| RGB | rgb(18, 108, 38) |
| HSL | hsl(133, 71%, 25%) |
| HSV | hsv(133, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 64.8%, 57.6%) |
| CIE-LAB | lab(39.57, -40.86, 31.37) |
| CIE-LCH | lch(39.57, 51.52, 142.48°) |
| OKLab | oklab(46.55% -0.11 0.0736) |
| OKLCH | oklch(46.55% 0.132 146.2) |
| XYZ | xyz(5.9614, 10.9929, 3.6410) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.80
Darkish Green
#287C37
ΔE00 5.74
Deep Green
#02590F
ΔE00 6.29
Forest Green
#2D5A27
ΔE00 7.15
Pine
#2B5D34
ΔE00 7.60
Forest
#0B5509
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C26 #6C1258
analogous
#2B6C12 #126C26 #126C53
triadic
#126C26 #26126C #6C2612
tetradic
#126C26 #122B6C #6C1258 #6C5312
square
#126C26 #122B6C #6C1258 #6C5312
split-complementary
#126C26 #53126C #6C122B
monochromatic
#041A09 #093814 #126C26 #1BA038 #23D54B
Accessibility & contrast
On white
6.56
#126C26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#126C26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C26
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C26 | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E611E
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c26; /* rgb */ color: rgb(18, 108, 38); /* oklch */ color: oklch(46.6% 0.132 146.2);
Tailwind
colors: {
custom: {
50: '#629763',
500: '#126c26',
950: '#000000',
},
}SCSS
$custom: #126c26; $custom-light: #629763; $custom-dark: #000000;
JSON
{
"hex": "#126c26",
"rgb": {
"r": 18,
"g": 108,
"b": 38
},
"hsl": {
"h": 133.333,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46552,
"c": 0.13237,
"h": 146.2
},
"luminance": 0.10994
}Semantic roles & 50–950 ramp
primary
#126C26
secondary
#A3368B
accent
#3AC6EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A