#126D22#126D22
#126D22 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.137 H 145.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #126D22 |
|---|---|
| RGB | rgb(18, 109, 34) |
| HSL | hsl(131, 72%, 25%) |
| HSV | hsv(131, 83%, 43%) |
| CMYK | cmyk(83.5%, 0%, 68.8%, 57.3%) |
| CIE-LAB | lab(39.88, -41.72, 33.65) |
| CIE-LCH | lch(39.88, 53.60, 141.11°) |
| OKLab | oklab(46.8% -0.1125 0.0781) |
| OKLCH | oklch(46.8% 0.137 145.2) |
| XYZ | xyz(6.0064, 11.1806, 3.3546) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.34
Darkish Green
#287C37
ΔE00 5.61
Deep Green
#02590F
ΔE00 6.48
Tree Green
#2A7E19
ΔE00 6.96
Forest Green
#2D5A27
ΔE00 7.66
Forest
#0B5509
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126D22 #6D125D
analogous
#306D12 #126D22 #126D4F
triadic
#126D22 #22126D #6D2212
tetradic
#126D22 #12306D #6D125D #6D4F12
square
#126D22 #12306D #6D125D #6D4F12
split-complementary
#126D22 #4F126D #6D1230
monochromatic
#041A08 #093812 #126D22 #1BA232 #23D643
Accessibility & contrast
On white
6.49
#126D22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#126D22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126D22
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126D22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126D22 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#655B29
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #126d22; /* rgb */ color: rgb(18, 109, 34); /* oklch */ color: oklch(46.8% 0.137 145.2);
Tailwind
colors: {
custom: {
50: '#639861',
500: '#126d22',
950: '#000000',
},
}SCSS
$custom: #126d22; $custom-light: #639861; $custom-dark: #000000;
JSON
{
"hex": "#126d22",
"rgb": {
"r": 18,
"g": 109,
"b": 34
},
"hsl": {
"h": 130.549,
"s": 71.654,
"l": 24.902
},
"oklch": {
"l": 0.468,
"c": 0.13691,
"h": 145.2
},
"luminance": 0.11181
}Semantic roles & 50–950 ramp
primary
#126D22
secondary
#A43791
accent
#39CFEE
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79