#126C1B#126C1B
#126C1B is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.141 H 144.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #126C1B |
|---|---|
| RGB | rgb(18, 108, 27) |
| HSL | hsl(126, 71%, 25%) |
| HSV | hsv(126, 83%, 42%) |
| CMYK | cmyk(83.3%, 0%, 75%, 57.6%) |
| CIE-LAB | lab(39.47, -42.12, 36.31) |
| CIE-LCH | lch(39.47, 55.61, 139.23°) |
| OKLab | oklab(46.43% -0.1139 0.0828) |
| OKLCH | oklch(46.43% 0.141 144) |
| XYZ | xyz(5.8095, 10.9322, 2.8406) |
| Luminance | 0.1093 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.41
Deep Green
#02590F
ΔE00 6.14
Darkish Green
#287C37
ΔE00 6.27
Tree Green
#2A7E19
ΔE00 6.81
Forest
#0B5509
ΔE00 7.36
Green
#008000
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126C1B #6C1263
analogous
#366C12 #126C1B #126C48
triadic
#126C1B #1B126C #6C1B12
tetradic
#126C1B #12366C #6C1263 #6C4812
square
#126C1B #12366C #6C1263 #6C4812
split-complementary
#126C1B #48126C #6C1236
monochromatic
#041A07 #09380E #126C1B #1BA028 #23D535
Accessibility & contrast
On white
6.59
#126C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#126C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126C1B
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126C1B | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E610E
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #126c1b; /* rgb */ color: rgb(18, 108, 27); /* oklch */ color: oklch(46.4% 0.141 144.0);
Tailwind
colors: {
custom: {
50: '#63975d',
500: '#126c1b',
950: '#000000',
},
}SCSS
$custom: #126c1b; $custom-light: #63975d; $custom-dark: #000000;
JSON
{
"hex": "#126c1b",
"rgb": {
"r": 18,
"g": 108,
"b": 27
},
"hsl": {
"h": 126,
"s": 71.429,
"l": 24.706
},
"oklch": {
"l": 0.46434,
"c": 0.1408,
"h": 144
},
"luminance": 0.10933
}Semantic roles & 50–950 ramp
primary
#126C1B
secondary
#A33698
accent
#3ADCEE
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79