#126F24#126F24
#126F24 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.138 H 145.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #126F24 |
|---|---|
| RGB | rgb(18, 111, 36) |
| HSL | hsl(132, 72%, 25%) |
| HSV | hsv(132, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 67.6%, 56.5%) |
| CIE-LAB | lab(40.61, -42.18, 33.52) |
| CIE-LCH | lch(40.61, 53.88, 141.53°) |
| OKLab | oklab(47.41% -0.1137 0.078) |
| OKLCH | oklch(47.41% 0.138 145.5) |
| XYZ | xyz(6.2519, 11.6241, 3.5829) |
| Luminance | 0.1163 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.90
Darkish Green
#287C37
ΔE00 4.97
Tree Green
#2A7E19
ΔE00 6.49
Deep Green
#02590F
ΔE00 7.15
Green
#008000
ΔE00 7.47
Jungle Green
#048243
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F24 #6F125D
analogous
#2E6F12 #126F24 #126F52
triadic
#126F24 #24126F #6F2412
tetradic
#126F24 #122E6F #6F125D #6F5212
square
#126F24 #122E6F #6F125D #6F5212
split-complementary
#126F24 #52126F #6F122E
monochromatic
#041A09 #093A13 #126F24 #1BA435 #23D846
Accessibility & contrast
On white
6.32
#126F24 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#126F24 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F24
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F24 | 1.00 | 6.32 | 3.33 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71641B
Deuteranopia (green-blind)
#675D2B
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f24; /* rgb */ color: rgb(18, 111, 36); /* oklch */ color: oklch(47.4% 0.138 145.5);
Tailwind
colors: {
custom: {
50: '#639962',
500: '#126f24',
950: '#000000',
},
}SCSS
$custom: #126f24; $custom-light: #639962; $custom-dark: #000000;
JSON
{
"hex": "#126f24",
"rgb": {
"r": 18,
"g": 111,
"b": 36
},
"hsl": {
"h": 131.613,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47412,
"c": 0.13785,
"h": 145.5
},
"luminance": 0.11625
}Semantic roles & 50–950 ramp
primary
#126F24
secondary
#A63791
accent
#39CCEF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79