#126F29#126F29
#126F29 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.5% C 0.134 H 146.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #126F29 |
|---|---|
| RGB | rgb(18, 111, 41) |
| HSL | hsl(135, 72%, 25%) |
| HSV | hsv(135, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 63.1%, 56.5%) |
| CIE-LAB | lab(40.67, -41.54, 31.14) |
| CIE-LCH | lch(40.67, 51.91, 143.14°) |
| OKLab | oklab(47.47% -0.1117 0.0734) |
| OKLCH | oklch(47.47% 0.134 146.7) |
| XYZ | xyz(6.3336, 11.6568, 4.0136) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.78
Darkgreen
#006400
ΔE00 5.55
Tree Green
#2A7E19
ΔE00 7.03
Jungle Green
#048243
ΔE00 7.13
Deep Green
#02590F
ΔE00 7.30
Forest Green
#2D5A27
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F29 #6F1258
analogous
#296F12 #126F29 #126F58
triadic
#126F29 #29126F #6F2912
tetradic
#126F29 #12296F #6F1258 #6F5812
square
#126F29 #12296F #6F1258 #6F5812
split-complementary
#126F29 #58126F #6F1229
monochromatic
#041A0A #093A16 #126F29 #1BA43C #23D850
Accessibility & contrast
On white
6.30
#126F29 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#126F29 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F29
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F29 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F29 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716422
Deuteranopia (green-blind)
#665D2F
Tritanopia (blue-blind)
#006C60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f29; /* rgb */ color: rgb(18, 111, 41); /* oklch */ color: oklch(47.5% 0.134 146.7);
Tailwind
colors: {
custom: {
50: '#639965',
500: '#126f29',
950: '#000000',
},
}SCSS
$custom: #126f29; $custom-light: #639965; $custom-dark: #000000;
JSON
{
"hex": "#126f29",
"rgb": {
"r": 18,
"g": 111,
"b": 41
},
"hsl": {
"h": 134.839,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47473,
"c": 0.13369,
"h": 146.7
},
"luminance": 0.11658
}Semantic roles & 50–950 ramp
primary
#126F29
secondary
#A6378B
accent
#39C2EF
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A