#126917#126917
#126917 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.5% C 0.140 H 143.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #126917 |
|---|---|
| RGB | rgb(18, 105, 23) |
| HSL | hsl(123, 71%, 24%) |
| HSV | hsv(123, 83%, 41%) |
| CMYK | cmyk(82.9%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(38.36, -41.45, 36.81) |
| CIE-LCH | lch(38.36, 55.44, 138.40°) |
| OKLab | oklab(45.51% -0.1123 0.0833) |
| OKLCH | oklch(45.51% 0.14 143.4) |
| XYZ | xyz(5.4553, 10.2930, 2.5097) |
| Luminance | 0.1029 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.52
Deep Green
#02590F
ΔE00 5.20
Forest
#0B5509
ΔE00 6.38
Forest Green
#2D5A27
ΔE00 7.19
Darkish Green
#287C37
ΔE00 7.25
Tree Green
#2A7E19
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#126917 #691264
analogous
#396912 #126917 #126943
triadic
#126917 #171269 #691712
tetradic
#126917 #123969 #691264 #694312
square
#126917 #123969 #691264 #694312
split-complementary
#126917 #431269 #691239
monochromatic
#041A06 #09350C #126917 #1B9D22 #24D12E
Accessibility & contrast
On white
6.87
#126917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#126917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #126917
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##126917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##126917 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #126917; /* rgb */ color: rgb(18, 105, 23); /* oklch */ color: oklch(45.5% 0.140 143.4);
Tailwind
colors: {
custom: {
50: '#62955a',
500: '#126917',
950: '#000000',
},
}SCSS
$custom: #126917; $custom-light: #62955a; $custom-dark: #000000;
JSON
{
"hex": "#126917",
"rgb": {
"r": 18,
"g": 105,
"b": 23
},
"hsl": {
"h": 123.448,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.45507,
"c": 0.13978,
"h": 143.4
},
"luminance": 0.10294
}Semantic roles & 50–950 ramp
primary
#126917
secondary
#A1369A
accent
#3AE3ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79