#126F16#126F16
#126F16 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.3% C 0.147 H 143.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #126F16 |
|---|---|
| RGB | rgb(18, 111, 22) |
| HSL | hsl(123, 72%, 25%) |
| HSV | hsv(123, 84%, 44%) |
| CMYK | cmyk(83.8%, 0%, 80.2%, 56.5%) |
| CIE-LAB | lab(40.50, -43.58, 39.32) |
| CIE-LCH | lch(40.50, 58.70, 137.95°) |
| OKLab | oklab(47.28% -0.1181 0.0883) |
| OKLCH | oklch(47.28% 0.147 143.2) |
| XYZ | xyz(6.0783, 11.5547, 2.6688) |
| Luminance | 0.1155 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Tree Green
#2A7E19
ΔE00 5.61
Darkish Green
#287C37
ΔE00 5.95
Green
#008000
ΔE00 6.33
Deep Green
#02590F
ΔE00 7.25
Dark Grass Green
#388004
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126F16 #6F126B
analogous
#3C6F12 #126F16 #126F45
triadic
#126F16 #16126F #6F1612
tetradic
#126F16 #123C6F #6F126B #6F4512
square
#126F16 #123C6F #6F126B #6F4512
split-complementary
#126F16 #45126F #6F123C
monochromatic
#041A05 #093A0C #126F16 #1BA420 #23D82B
Accessibility & contrast
On white
6.34
#126F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#126F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126F16
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126F16 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716403
Deuteranopia (green-blind)
#685D20
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #126f16; /* rgb */ color: rgb(18, 111, 22); /* oklch */ color: oklch(47.3% 0.147 143.2);
Tailwind
colors: {
custom: {
50: '#64995a',
500: '#126f16',
950: '#000000',
},
}SCSS
$custom: #126f16; $custom-light: #64995a; $custom-dark: #000000;
JSON
{
"hex": "#126f16",
"rgb": {
"r": 18,
"g": 111,
"b": 22
},
"hsl": {
"h": 122.581,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47282,
"c": 0.14749,
"h": 143.2
},
"luminance": 0.11555
}Semantic roles & 50–950 ramp
primary
#126F16
secondary
#A637A1
accent
#39E7EF
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79