#7F7717#7F7717
#7F7717 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.110 H 104.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7717 |
|---|---|
| RGB | rgb(127, 119, 23) |
| HSL | hsl(55, 69%, 29%) |
| HSV | hsv(55, 82%, 50%) |
| CMYK | cmyk(0%, 6.3%, 81.9%, 50.2%) |
| CIE-LAB | lab(49.21, -7.90, 49.31) |
| CIE-LCH | lch(49.21, 49.94, 99.10°) |
| OKLab | oklab(55.95% -0.0274 0.107) |
| OKLCH | oklch(55.95% 0.11 104.4) |
| XYZ | xyz(15.5046, 17.7682, 3.4234) |
| Luminance | 0.1777 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.64
Olive
#808000
ΔE00 4.20
Brown Green
#706C11
ΔE00 4.75
Browny Green
#6F6C0A
ΔE00 4.86
Olive (survey)
#6E750E
ΔE00 4.92
Hazel
#8E7618
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7717 #171F7F
analogous
#7F4317 #7F7717 #537F17
triadic
#7F7717 #177F77 #77177F
tetradic
#7F7717 #177F43 #171F7F #7F1753
square
#7F7717 #177F43 #171F7F #7F1753
split-complementary
#7F7717 #17537F #43177F
monochromatic
#1A1805 #4B460E #7F7717 #B3A820 #DBCE36
Accessibility & contrast
On white
4.61
#7F7717 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#7F7717 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7717
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7717 | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#85771F
Tritanopia (blue-blind)
#896E65
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f7717; /* rgb */ color: rgb(127, 119, 23); /* oklch */ color: oklch(55.9% 0.110 104.4);
Tailwind
colors: {
custom: {
50: '#a89d5e',
500: '#7f7717',
950: '#000000',
},
}SCSS
$custom: #7f7717; $custom-light: #a89d5e; $custom-dark: #000000;
JSON
{
"hex": "#7f7717",
"rgb": {
"r": 127,
"g": 119,
"b": 23
},
"hsl": {
"h": 55.385,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.55949,
"c": 0.11044,
"h": 104.4
},
"luminance": 0.17768
}Semantic roles & 50–950 ramp
primary
#7F7717
secondary
#3E47B4
accent
#49EC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79