#126E21#126E21
#126E21 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.139 H 145.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #126E21 |
|---|---|
| RGB | rgb(18, 110, 33) |
| HSL | hsl(130, 72%, 25%) |
| HSV | hsv(130, 84%, 43%) |
| CMYK | cmyk(83.6%, 0%, 70%, 56.9%) |
| CIE-LAB | lab(40.23, -42.19, 34.49) |
| CIE-LCH | lch(40.23, 54.49, 140.73°) |
| OKLab | oklab(47.08% -0.1138 0.0797) |
| OKLCH | oklch(47.08% 0.139 145) |
| XYZ | xyz(6.0995, 11.3895, 3.3155) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.39
Darkish Green
#287C37
ΔE00 5.40
Tree Green
#2A7E19
ΔE00 6.55
Deep Green
#02590F
ΔE00 6.79
Green
#008000
ΔE00 7.48
Forest Green
#2D5A27
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126E21 #6E125F
analogous
#316E12 #126E21 #126E4F
triadic
#126E21 #21126E #6E2112
tetradic
#126E21 #12316E #6E125F #6E4F12
square
#126E21 #12316E #6E125F #6E4F12
split-complementary
#126E21 #4F126E #6E1231
monochromatic
#041A08 #093911 #126E21 #1BA331 #23D741
Accessibility & contrast
On white
6.41
#126E21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#126E21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126E21
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126E21 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706317
Deuteranopia (green-blind)
#665C28
Tritanopia (blue-blind)
#006B5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126e21; /* rgb */ color: rgb(18, 110, 33); /* oklch */ color: oklch(47.1% 0.139 145.0);
Tailwind
colors: {
custom: {
50: '#639960',
500: '#126e21',
950: '#000000',
},
}SCSS
$custom: #126e21; $custom-light: #639960; $custom-dark: #000000;
JSON
{
"hex": "#126e21",
"rgb": {
"r": 18,
"g": 110,
"b": 33
},
"hsl": {
"h": 129.783,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47084,
"c": 0.13894,
"h": 145
},
"luminance": 0.1139
}Semantic roles & 50–950 ramp
primary
#126E21
secondary
#A53793
accent
#39D1EF
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79