#7D6E1B#7D6E1B
#7D6E1B is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.100 H 98.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7D6E1B |
|---|---|
| RGB | rgb(125, 110, 27) |
| HSL | hsl(51, 64%, 30%) |
| HSV | hsv(51, 78%, 49%) |
| CMYK | cmyk(0%, 12%, 78.4%, 51%) |
| CIE-LAB | lab(46.43, -3.60, 45.31) |
| CIE-LCH | lch(46.43, 45.45, 94.55°) |
| OKLab | oklab(53.7% -0.0148 0.0993) |
| OKLCH | oklch(53.7% 0.1 98.5) |
| XYZ | xyz(14.2319, 15.5917, 3.2966) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.68
Brown Green
#706C11
ΔE00 4.04
Browny Green
#6F6C0A
ΔE00 4.44
Hazel
#8E7618
ΔE00 4.94
Poo
#8F7303
ΔE00 5.62
Greenish Brown
#696112
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D6E1B #1B2A7D
analogous
#7D3D1B #7D6E1B #5B7D1B
triadic
#7D6E1B #1B7D6E #6E1B7D
tetradic
#7D6E1B #1B7D3D #1B2A7D #7D1B5B
square
#7D6E1B #1B7D3D #1B2A7D #7D1B5B
split-complementary
#7D6E1B #1B5B7D #3D1B7D
monochromatic
#191605 #4B4210 #7D6E1B #AF9A26 #D5BE3D
Accessibility & contrast
On white
5.10
#7D6E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#7D6E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D6E1B
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D6E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D6E1B | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B0B
Deuteranopia (green-blind)
#7E7021
Tritanopia (blue-blind)
#87655E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d6e1b; /* rgb */ color: rgb(125, 110, 27); /* oklch */ color: oklch(53.7% 0.100 98.5);
Tailwind
colors: {
custom: {
50: '#a6975e',
500: '#7d6e1b',
950: '#000000',
},
}SCSS
$custom: #7d6e1b; $custom-light: #a6975e; $custom-dark: #000000;
JSON
{
"hex": "#7d6e1b",
"rgb": {
"r": 125,
"g": 110,
"b": 27
},
"hsl": {
"h": 50.816,
"s": 64.474,
"l": 29.804
},
"oklch": {
"l": 0.53702,
"c": 0.10045,
"h": 98.5
},
"luminance": 0.15591
}Semantic roles & 50–950 ramp
primary
#7D6E1B
secondary
#4354B1
accent
#5AE740
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79