#126C21#126C21
#126C21 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.136 H 145.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #126C21 |
|---|---|
| RGB | rgb(18, 108, 33) |
| HSL | hsl(130, 71%, 25%) |
| HSV | hsv(130, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 69.4%, 57.6%) |
| CIE-LAB | lab(39.52, -41.48, 33.72) |
| CIE-LCH | lch(39.52, 53.46, 140.90°) |
| OKLab | oklab(46.49% -0.1119 0.0781) |
| OKLCH | oklch(46.49% 0.136 145.1) |
| XYZ | xyz(5.8861, 10.9628, 3.2444) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.08
Darkish Green
#287C37
ΔE00 5.93
Deep Green
#02590F
ΔE00 6.15
Tree Green
#2A7E19
ΔE00 7.21
Forest Green
#2D5A27
ΔE00 7.41
Forest
#0B5509
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C21 #6C125D
analogous
#306C12 #126C21 #126C4E
triadic
#126C21 #21126C #6C2112
tetradic
#126C21 #12306C #6C125D #6C4E12
square
#126C21 #12306C #6C125D #6C4E12
split-complementary
#126C21 #4E126C #6C1230
monochromatic
#041A08 #093811 #126C21 #1BA031 #23D541
Accessibility & contrast
On white
6.58
#126C21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C21
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C21 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6117
Deuteranopia (green-blind)
#645A28
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c21; /* rgb */ color: rgb(18, 108, 33); /* oklch */ color: oklch(46.5% 0.136 145.1);
Tailwind
colors: {
custom: {
50: '#629760',
500: '#126c21',
950: '#000000',
},
}SCSS
$custom: #126c21; $custom-light: #629760; $custom-dark: #000000;
JSON
{
"hex": "#126c21",
"rgb": {
"r": 18,
"g": 108,
"b": 33
},
"hsl": {
"h": 130,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46493,
"c": 0.13643,
"h": 145.1
},
"luminance": 0.10964
}Semantic roles & 50–950 ramp
primary
#126C21
secondary
#A33691
accent
#3AD0EE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79