#7F6F2D#7F6F2D
#7F6F2D is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.088 H 95.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7F6F2D |
|---|---|
| RGB | rgb(127, 111, 45) |
| HSL | hsl(48, 48%, 34%) |
| HSV | hsv(48, 65%, 50%) |
| CMYK | cmyk(0%, 12.6%, 64.6%, 50.2%) |
| CIE-LAB | lab(47.07, -2.18, 38.09) |
| CIE-LCH | lch(47.07, 38.15, 93.27°) |
| OKLab | oklab(54.3% -0.0087 0.0873) |
| OKLCH | oklch(54.3% 0.088 95.7) |
| XYZ | xyz(14.9111, 16.0711, 4.7987) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 5.14
Hazel
#8E7618
ΔE00 5.58
Brown Green
#706C11
ΔE00 5.67
Browny Green
#6F6C0A
ΔE00 6.22
Muddy Brown
#886806
ΔE00 6.46
Poo
#8F7303
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F6F2D #2D3D7F
analogous
#7F462D #7F6F2D #667F2D
triadic
#7F6F2D #2D7F6F #6F2D7F
tetradic
#7F6F2D #2D7F46 #2D3D7F #7F2D66
square
#7F6F2D #2D7F46 #2D3D7F #7F2D66
split-complementary
#7F6F2D #2D667F #462D7F
monochromatic
#25200D #52481D #7F6F2D #AC963D #C7B360
Accessibility & contrast
On white
4.98
#7F6F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7F6F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F6F2D
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F6F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F6F2D | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6D26
Deuteranopia (green-blind)
#7E7230
Tritanopia (blue-blind)
#896761
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7f6f2d; /* rgb */ color: rgb(127, 111, 45); /* oklch */ color: oklch(54.3% 0.088 95.7);
Tailwind
colors: {
custom: {
50: '#a79869',
500: '#7f6f2d',
950: '#000000',
},
}SCSS
$custom: #7f6f2d; $custom-light: #a79869; $custom-dark: #000000;
JSON
{
"hex": "#7f6f2d",
"rgb": {
"r": 127,
"g": 111,
"b": 45
},
"hsl": {
"h": 48.293,
"s": 47.674,
"l": 33.725
},
"oklch": {
"l": 0.54297,
"c": 0.08775,
"h": 95.7
},
"luminance": 0.1607
}Semantic roles & 50–950 ramp
primary
#7F6F2D
secondary
#5B6BAD
accent
#6BD751
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A