#126D1F#126D1F
#126D1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.139 H 144.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #126D1F |
|---|---|
| RGB | rgb(18, 109, 31) |
| HSL | hsl(129, 72%, 25%) |
| HSV | hsv(129, 83%, 43%) |
| CMYK | cmyk(83.5%, 0%, 71.6%, 57.3%) |
| CIE-LAB | lab(39.86, -42.06, 34.99) |
| CIE-LCH | lch(39.86, 54.71, 140.24°) |
| OKLab | oklab(46.77% -0.1135 0.0805) |
| OKLCH | oklch(46.77% 0.139 144.7) |
| XYZ | xyz(5.9650, 11.1641, 3.1366) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.00
Darkish Green
#287C37
ΔE00 5.77
Deep Green
#02590F
ΔE00 6.45
Tree Green
#2A7E19
ΔE00 6.73
Green
#008000
ΔE00 7.63
Forest
#0B5509
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126D1F #6D1260
analogous
#336D12 #126D1F #126D4C
triadic
#126D1F #1F126D #6D1F12
tetradic
#126D1F #12336D #6D1260 #6D4C12
square
#126D1F #12336D #6D1260 #6D4C12
split-complementary
#126D1F #4C126D #6D1233
monochromatic
#041A07 #093810 #126D1F #1BA22E #23D63D
Accessibility & contrast
On white
6.50
#126D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#126D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126D1F
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126D1F | 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)
#6F6214
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #126d1f; /* rgb */ color: rgb(18, 109, 31); /* oklch */ color: oklch(46.8% 0.139 144.7);
Tailwind
colors: {
custom: {
50: '#63985f',
500: '#126d1f',
950: '#000000',
},
}SCSS
$custom: #126d1f; $custom-light: #63985f; $custom-dark: #000000;
JSON
{
"hex": "#126d1f",
"rgb": {
"r": 18,
"g": 109,
"b": 31
},
"hsl": {
"h": 128.571,
"s": 71.654,
"l": 24.902
},
"oklch": {
"l": 0.46768,
"c": 0.13919,
"h": 144.7
},
"luminance": 0.11165
}Semantic roles & 50–950 ramp
primary
#126D1F
secondary
#A43795
accent
#39D5EE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79