#7F7C17#7F7C17
#7F7C17 is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.115 H 107.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7C17 |
|---|---|
| RGB | rgb(127, 124, 23) |
| HSL | hsl(58, 69%, 29%) |
| HSV | hsv(58, 82%, 50%) |
| CMYK | cmyk(0%, 2.4%, 81.9%, 50.2%) |
| CIE-LAB | lab(50.68, -10.65, 50.61) |
| CIE-LCH | lch(50.68, 51.72, 101.89°) |
| OKLab | oklab(57.11% -0.0351 0.1098) |
| OKLCH | oklch(57.11% 0.115 107.7) |
| XYZ | xyz(16.1154, 18.9898, 3.6269) |
| Luminance | 0.1899 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.27
Shit Green
#758000
ΔE00 4.02
Olive (survey)
#6E750E
ΔE00 4.58
Poop Green
#6F7C00
ΔE00 4.62
Ugly Brown
#7D7103
ΔE00 4.68
Murky Green
#6C7A0E
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7C17 #171A7F
analogous
#7F4817 #7F7C17 #4E7F17
triadic
#7F7C17 #177F7C #7C177F
tetradic
#7F7C17 #177F48 #171A7F #7F174E
square
#7F7C17 #177F48 #171A7F #7F174E
split-complementary
#7F7C17 #174E7F #48177F
monochromatic
#1A1905 #4B490E #7F7C17 #B3AF20 #DBD636
Accessibility & contrast
On white
4.38
#7F7C17 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#7F7C17 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F7C17
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7C17 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F7C17 | 1.00 | 4.38 | 4.80 | 4.80 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#897A20
Tritanopia (blue-blind)
#89736A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f7c17; /* rgb */ color: rgb(127, 124, 23); /* oklch */ color: oklch(57.1% 0.115 107.7);
Tailwind
colors: {
custom: {
50: '#a8a15f',
500: '#7f7c17',
950: '#000000',
},
}SCSS
$custom: #7f7c17; $custom-light: #a8a15f; $custom-dark: #000000;
JSON
{
"hex": "#7f7c17",
"rgb": {
"r": 127,
"g": 124,
"b": 23
},
"hsl": {
"h": 58.269,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.57114,
"c": 0.11523,
"h": 107.7
},
"luminance": 0.18989
}Semantic roles & 50–950 ramp
primary
#7F7C17
secondary
#3E42B4
accent
#41EC3C
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79