#126B20#126B20
#126B20 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.136 H 144.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #126B20 |
|---|---|
| RGB | rgb(18, 107, 32) |
| HSL | hsl(129, 71%, 25%) |
| HSV | hsv(129, 83%, 42%) |
| CMYK | cmyk(83.2%, 0%, 70.1%, 58%) |
| CIE-LAB | lab(39.15, -41.24, 33.78) |
| CIE-LCH | lch(39.15, 53.31, 140.68°) |
| OKLab | oklab(46.19% -0.1113 0.0781) |
| OKLCH | oklch(46.19% 0.136 144.9) |
| XYZ | xyz(5.7675, 10.7476, 3.1367) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Deep Green
#02590F
ΔE00 5.82
Darkish Green
#287C37
ΔE00 6.25
Forest
#0B5509
ΔE00 7.11
Forest Green
#2D5A27
ΔE00 7.16
Tree Green
#2A7E19
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126B20 #6B125D
analogous
#316B12 #126B20 #126B4D
triadic
#126B20 #20126B #6B2012
tetradic
#126B20 #12316B #6B125D #6B4D12
square
#126B20 #12316B #6B125D #6B4D12
split-complementary
#126B20 #4D126B #6B1231
monochromatic
#041A08 #093710 #126B20 #1B9F30 #24D43F
Accessibility & contrast
On white
6.67
#126B20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#126B20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126B20
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126B20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126B20 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6016
Deuteranopia (green-blind)
#635A27
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #126b20; /* rgb */ color: rgb(18, 107, 32); /* oklch */ color: oklch(46.2% 0.136 144.9);
Tailwind
colors: {
custom: {
50: '#62965f',
500: '#126b20',
950: '#000000',
},
}SCSS
$custom: #126b20; $custom-light: #62965f; $custom-dark: #000000;
JSON
{
"hex": "#126b20",
"rgb": {
"r": 18,
"g": 107,
"b": 32
},
"hsl": {
"h": 129.438,
"s": 71.2,
"l": 24.51
},
"oklch": {
"l": 0.46186,
"c": 0.13595,
"h": 144.9
},
"luminance": 0.10748
}Semantic roles & 50–950 ramp
primary
#126B20
secondary
#A23691
accent
#3AD2EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79