#126C27#126C27
#126C27 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.132 H 146.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #126C27 |
|---|---|
| RGB | rgb(18, 108, 39) |
| HSL | hsl(134, 71%, 25%) |
| HSV | hsv(134, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 63.9%, 57.6%) |
| CIE-LAB | lab(39.58, -40.73, 30.89) |
| CIE-LCH | lch(39.58, 51.12, 142.82°) |
| OKLab | oklab(46.57% -0.1096 0.0727) |
| OKLCH | oklch(46.57% 0.132 146.5) |
| XYZ | xyz(5.9778, 10.9995, 3.7271) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.96
Darkish Green
#287C37
ΔE00 5.72
Deep Green
#02590F
ΔE00 6.34
Forest Green
#2D5A27
ΔE00 7.11
Pine
#2B5D34
ΔE00 7.49
Forest
#0B5509
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C27 #6C1257
analogous
#2A6C12 #126C27 #126C54
triadic
#126C27 #27126C #6C2712
tetradic
#126C27 #122A6C #6C1257 #6C5412
square
#126C27 #122A6C #6C1257 #6C5412
split-complementary
#126C27 #54126C #6C122A
monochromatic
#041A09 #093814 #126C27 #1BA03A #23D54D
Accessibility & contrast
On white
6.56
#126C27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#126C27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C27
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C27 | 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)
#6E6120
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c27; /* rgb */ color: rgb(18, 108, 39); /* oklch */ color: oklch(46.6% 0.132 146.5);
Tailwind
colors: {
custom: {
50: '#629764',
500: '#126c27',
950: '#000000',
},
}SCSS
$custom: #126c27; $custom-light: #629764; $custom-dark: #000000;
JSON
{
"hex": "#126c27",
"rgb": {
"r": 18,
"g": 108,
"b": 39
},
"hsl": {
"h": 134,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46565,
"c": 0.13151,
"h": 146.5
},
"luminance": 0.11
}Semantic roles & 50–950 ramp
primary
#126C27
secondary
#A3368A
accent
#3AC4EE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A