#126D1C#126D1C
#126D1C is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.7% C 0.141 H 144.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #126D1C |
|---|---|
| RGB | rgb(18, 109, 28) |
| HSL | hsl(127, 72%, 25%) |
| HSV | hsv(127, 83%, 43%) |
| CMYK | cmyk(83.5%, 0%, 74.3%, 57.3%) |
| CIE-LAB | lab(39.83, -42.37, 36.27) |
| CIE-LCH | lch(39.83, 55.77, 139.43°) |
| OKLab | oklab(46.74% -0.1145 0.0828) |
| OKLCH | oklch(46.74% 0.141 144.1) |
| XYZ | xyz(5.9273, 11.1490, 2.9380) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.70
Darkish Green
#287C37
ΔE00 5.96
Deep Green
#02590F
ΔE00 6.46
Tree Green
#2A7E19
ΔE00 6.54
Green
#008000
ΔE00 7.38
Forest
#0B5509
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126D1C #6D1263
analogous
#366D12 #126D1C #126D49
triadic
#126D1C #1C126D #6D1C12
tetradic
#126D1C #12366D #6D1263 #6D4912
square
#126D1C #12366D #6D1263 #6D4912
split-complementary
#126D1C #49126D #6D1236
monochromatic
#041A07 #09380F #126D1C #1BA229 #23D637
Accessibility & contrast
On white
6.50
#126D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#126D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126D1C
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126D1C | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F620F
Deuteranopia (green-blind)
#655B24
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #126d1c; /* rgb */ color: rgb(18, 109, 28); /* oklch */ color: oklch(46.7% 0.141 144.1);
Tailwind
colors: {
custom: {
50: '#63985d',
500: '#126d1c',
950: '#000000',
},
}SCSS
$custom: #126d1c; $custom-light: #63985d; $custom-dark: #000000;
JSON
{
"hex": "#126d1c",
"rgb": {
"r": 18,
"g": 109,
"b": 28
},
"hsl": {
"h": 126.593,
"s": 71.654,
"l": 24.902
},
"oklch": {
"l": 0.46739,
"c": 0.14134,
"h": 144.1
},
"luminance": 0.1115
}Semantic roles & 50–950 ramp
primary
#126D1C
secondary
#A43798
accent
#39DBEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79