#717F12#717F12
#717F12 is a mid, vivid yellow. Relative luminance 0.187; OKLCH L 56.6% C 0.125 H 117.4°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #717F12 |
|---|---|
| RGB | rgb(113, 127, 18) |
| HSL | hsl(68, 75%, 28%) |
| HSV | hsv(68, 86%, 50%) |
| CMYK | cmyk(11%, 0%, 85.8%, 50.2%) |
| CIE-LAB | lab(50.37, -18.87, 51.31) |
| CIE-LCH | lch(50.37, 54.67, 110.19°) |
| OKLab | oklab(56.58% -0.0575 0.111) |
| OKLCH | oklch(56.58% 0.125 117.4) |
| XYZ | xyz(14.5090, 18.7333, 3.4237) |
| Luminance | 0.1873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Poop Green
#6F7C00
ΔE00 1.49
Shit Green
#758000
ΔE00 1.75
Murky Green
#6C7A0E
ΔE00 1.95
Swamp Green
#748500
ΔE00 2.56
Olive Green
#677A04
ΔE00 2.62
Olive (survey)
#6E750E
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#717F12 #20127F
analogous
#7F5612 #717F12 #3B7F12
triadic
#717F12 #12717F #7F1271
tetradic
#717F12 #127F56 #20127F #7F123B
square
#717F12 #127F56 #20127F #7F123B
split-complementary
#717F12 #123B7F #56127F
monochromatic
#181B04 #41490A #717F12 #A1B51A #C9E12B
Accessibility & contrast
On white
4.42
#717F12 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.75
#717F12 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #717F12
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##717F12 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##717F12 | 1.00 | 4.42 | 4.75 | 4.75 |
| #FFFFFF | 4.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#87781E
Tritanopia (blue-blind)
#79776C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #717f12; /* rgb */ color: rgb(113, 127, 18); /* oklch */ color: oklch(56.6% 0.125 117.4);
Tailwind
colors: {
custom: {
50: '#9da45d',
500: '#717f12',
950: '#000000',
},
}SCSS
$custom: #717f12; $custom-light: #9da45d; $custom-dark: #000000;
JSON
{
"hex": "#717f12",
"rgb": {
"r": 113,
"g": 127,
"b": 18
},
"hsl": {
"h": 67.706,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.56575,
"c": 0.12496,
"h": 117.4
},
"luminance": 0.18733
}Semantic roles & 50–950 ramp
primary
#717F12
secondary
#4838B5
accent
#36F24E
background
#FAFAF5
surface
#F3F3E9
border
#CDCDC5
text
#0F0F05
muted
#7F7F79