#7F7617#7F7617
#7F7617 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.7% C 0.110 H 103.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7617 |
|---|---|
| RGB | rgb(127, 118, 23) |
| HSL | hsl(55, 69%, 29%) |
| HSV | hsv(55, 82%, 50%) |
| CMYK | cmyk(0%, 7.1%, 81.9%, 50.2%) |
| CIE-LAB | lab(48.92, -7.34, 49.06) |
| CIE-LCH | lch(48.92, 49.60, 98.51°) |
| OKLab | oklab(55.72% -0.0258 0.1064) |
| OKLCH | oklch(55.72% 0.11 103.7) |
| XYZ | xyz(15.3862, 17.5314, 3.3839) |
| Luminance | 0.1753 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.27
Brown Green
#706C11
ΔE00 4.54
Olive
#808000
ΔE00 4.63
Browny Green
#6F6C0A
ΔE00 4.68
Hazel
#8E7618
ΔE00 5.07
Olive (survey)
#6E750E
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7617 #17207F
analogous
#7F4217 #7F7617 #547F17
triadic
#7F7617 #177F76 #76177F
tetradic
#7F7617 #177F42 #17207F #7F1754
square
#7F7617 #177F42 #17207F #7F1754
split-complementary
#7F7617 #17547F #42177F
monochromatic
#1A1805 #4B460E #7F7617 #B3A620 #DBCC36
Accessibility & contrast
On white
4.66
#7F7617 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#7F7617 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7617
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7617 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7617 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f7617; /* rgb */ color: rgb(127, 118, 23); /* oklch */ color: oklch(55.7% 0.110 103.7);
Tailwind
colors: {
custom: {
50: '#a89d5e',
500: '#7f7617',
950: '#000000',
},
}SCSS
$custom: #7f7617; $custom-light: #a89d5e; $custom-dark: #000000;
JSON
{
"hex": "#7f7617",
"rgb": {
"r": 127,
"g": 118,
"b": 23
},
"hsl": {
"h": 54.808,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.55717,
"c": 0.10951,
"h": 103.7
},
"luminance": 0.17531
}Semantic roles & 50–950 ramp
primary
#7F7617
secondary
#3E48B4
accent
#4BEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79