#7F6616#7F6616
#7F6616 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.098 H 90.1°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6616 |
|---|---|
| RGB | rgb(127, 102, 22) |
| HSL | hsl(46, 70%, 29%) |
| HSV | hsv(46, 83%, 50%) |
| CMYK | cmyk(0%, 19.7%, 82.7%, 50.2%) |
| CIE-LAB | lab(44.34, 1.76, 45.31) |
| CIE-LCH | lch(44.34, 45.34, 87.78°) |
| OKLab | oklab(52.09% -0.0002 0.0981) |
| OKLCH | oklch(52.09% 0.098 90.1) |
| XYZ | xyz(13.6494, 14.0736, 2.7565) |
| Luminance | 0.1407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Brown
#886806
ΔE00 2.91
Shit
#7F5F00
ΔE00 3.29
Poop
#7F5E00
ΔE00 3.70
Mud
#735C12
ΔE00 3.92
Poop Brown
#7A5901
ΔE00 5.08
Poo Brown
#885F01
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6616 #162F7F
analogous
#7F3116 #7F6616 #647F16
triadic
#7F6616 #167F66 #66167F
tetradic
#7F6616 #167F31 #162F7F #7F1664
square
#7F6616 #167F31 #162F7F #7F1664
split-complementary
#7F6616 #16647F #31167F
monochromatic
#1A1505 #4B3C0D #7F6616 #B3901F #DCB434
Accessibility & contrast
On white
5.51
#7F6616 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7F6616 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F6616
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6616 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F6616 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#796C1B
Tritanopia (blue-blind)
#8A5C57
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7f6616; /* rgb */ color: rgb(127, 102, 22); /* oklch */ color: oklch(52.1% 0.098 90.1);
Tailwind
colors: {
custom: {
50: '#a8915b',
500: '#7f6616',
950: '#000000',
},
}SCSS
$custom: #7f6616; $custom-light: #a8915b; $custom-dark: #000000;
JSON
{
"hex": "#7f6616",
"rgb": {
"r": 127,
"g": 102,
"b": 22
},
"hsl": {
"h": 45.714,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52085,
"c": 0.09813,
"h": 90.1
},
"luminance": 0.14073
}Semantic roles & 50–950 ramp
primary
#7F6616
secondary
#3D59B4
accent
#65ED3B
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79