#126F20#126F20
#126F20 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.141 H 144.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #126F20 |
|---|---|
| RGB | rgb(18, 111, 32) |
| HSL | hsl(129, 72%, 25%) |
| HSV | hsv(129, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 71.2%, 56.5%) |
| CIE-LAB | lab(40.57, -42.65, 35.32) |
| CIE-LCH | lch(40.57, 55.37, 140.37°) |
| OKLab | oklab(47.37% -0.1151 0.0813) |
| OKLCH | oklch(47.37% 0.141 144.7) |
| XYZ | xyz(6.1942, 11.6010, 3.2790) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.48
Darkish Green
#287C37
ΔE00 5.21
Tree Green
#2A7E19
ΔE00 6.15
Green
#008000
ΔE00 7.06
Deep Green
#02590F
ΔE00 7.11
Jungle Green
#048243
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F20 #6F1261
analogous
#336F12 #126F20 #126F4E
triadic
#126F20 #20126F #6F2012
tetradic
#126F20 #12336F #6F1261 #6F4E12
square
#126F20 #12336F #6F1261 #6F4E12
split-complementary
#126F20 #4E126F #6F1233
monochromatic
#041A08 #093A11 #126F20 #1BA42F #23D83E
Accessibility & contrast
On white
6.32
#126F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#126F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F20
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F20 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #126f20; /* rgb */ color: rgb(18, 111, 32); /* oklch */ color: oklch(47.4% 0.141 144.7);
Tailwind
colors: {
custom: {
50: '#639960',
500: '#126f20',
950: '#000000',
},
}SCSS
$custom: #126f20; $custom-light: #639960; $custom-dark: #000000;
JSON
{
"hex": "#126f20",
"rgb": {
"r": 18,
"g": 111,
"b": 32
},
"hsl": {
"h": 129.032,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47369,
"c": 0.14093,
"h": 144.7
},
"luminance": 0.11602
}Semantic roles & 50–950 ramp
primary
#126F20
secondary
#A63795
accent
#39D3EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79