#7C6D1A#7C6D1A
#7C6D1A is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.4% C 0.100 H 98.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7C6D1A |
|---|---|
| RGB | rgb(124, 109, 26) |
| HSL | hsl(51, 65%, 29%) |
| HSV | hsv(51, 79%, 49%) |
| CMYK | cmyk(0%, 12.1%, 79%, 51.4%) |
| CIE-LAB | lab(46.04, -3.55, 45.28) |
| CIE-LCH | lch(46.04, 45.42, 94.49°) |
| OKLab | oklab(53.36% -0.0147 0.0991) |
| OKLCH | oklch(53.36% 0.1 98.5) |
| XYZ | xyz(13.9680, 15.2977, 3.1941) |
| Luminance | 0.1530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.83
Brown Green
#706C11
ΔE00 3.92
Browny Green
#6F6C0A
ΔE00 4.32
Hazel
#8E7618
ΔE00 5.24
Greenish Brown
#696112
ΔE00 5.50
Greeny Brown
#696006
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C6D1A #1A297C
analogous
#7C3C1A #7C6D1A #5A7C1A
triadic
#7C6D1A #1A7C6D #6D1A7C
tetradic
#7C6D1A #1A7C3C #1A297C #7C1A5A
square
#7C6D1A #1A7C3C #1A297C #7C1A5A
split-complementary
#7C6D1A #1A5A7C #3C1A7C
monochromatic
#191605 #49410F #7C6D1A #AF9925 #D6BE3B
Accessibility & contrast
On white
5.17
#7C6D1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7C6D1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C6D1A
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C6D1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C6D1A | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A09
Deuteranopia (green-blind)
#7C6F20
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7c6d1a; /* rgb */ color: rgb(124, 109, 26); /* oklch */ color: oklch(53.4% 0.100 98.5);
Tailwind
colors: {
custom: {
50: '#a5965e',
500: '#7c6d1a',
950: '#000000',
},
}SCSS
$custom: #7c6d1a; $custom-light: #a5965e; $custom-dark: #000000;
JSON
{
"hex": "#7c6d1a",
"rgb": {
"r": 124,
"g": 109,
"b": 26
},
"hsl": {
"h": 50.816,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.53363,
"c": 0.10021,
"h": 98.5
},
"luminance": 0.15297
}Semantic roles & 50–950 ramp
primary
#7C6D1A
secondary
#4253B0
accent
#59E840
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D05
muted
#7F7E79