#7D6F1D#7D6F1D
#7D6F1D is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 53.9% C 0.100 H 99.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7D6F1D |
|---|---|
| RGB | rgb(125, 111, 29) |
| HSL | hsl(51, 62%, 30%) |
| HSV | hsv(51, 77%, 49%) |
| CMYK | cmyk(0%, 11.2%, 76.8%, 51%) |
| CIE-LAB | lab(46.74, -4.08, 44.82) |
| CIE-LCH | lch(46.74, 45.01, 95.20°) |
| OKLab | oklab(53.95% -0.016 0.0987) |
| OKLCH | oklch(53.95% 0.1 99.2) |
| XYZ | xyz(14.3644, 15.8183, 3.4588) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.61
Brown Green
#706C11
ΔE00 3.89
Browny Green
#6F6C0A
ΔE00 4.31
Hazel
#8E7618
ΔE00 4.96
Poo
#8F7303
ΔE00 5.79
Greenish Brown
#696112
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D6F1D #1D2B7D
analogous
#7D3F1D #7D6F1D #5B7D1D
triadic
#7D6F1D #1D7D6F #6F1D7D
tetradic
#7D6F1D #1D7D3F #1D2B7D #7D1D5B
square
#7D6F1D #1D7D3F #1D2B7D #7D1D5B
split-complementary
#7D6F1D #1D5B7D #3F1D7D
monochromatic
#1A1706 #4B4311 #7D6F1D #AF9B29 #D3BE41
Accessibility & contrast
On white
5.04
#7D6F1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7D6F1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D6F1D
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D6F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D6F1D | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C0E
Deuteranopia (green-blind)
#7E7122
Tritanopia (blue-blind)
#87665F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d6f1d; /* rgb */ color: rgb(125, 111, 29); /* oklch */ color: oklch(53.9% 0.100 99.2);
Tailwind
colors: {
custom: {
50: '#a69860',
500: '#7d6f1d',
950: '#000000',
},
}SCSS
$custom: #7d6f1d; $custom-light: #a69860; $custom-dark: #000000;
JSON
{
"hex": "#7d6f1d",
"rgb": {
"r": 125,
"g": 111,
"b": 29
},
"hsl": {
"h": 51.25,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.53945,
"c": 0.10001,
"h": 99.2
},
"luminance": 0.15818
}Semantic roles & 50–950 ramp
primary
#7D6F1D
secondary
#4555B1
accent
#5AE542
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79