#7C6D16#7C6D16
#7C6D16 is a mid, moderate yellow. Relative luminance 0.153; OKLCH L 53.3% C 0.102 H 98.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7C6D16 |
|---|---|
| RGB | rgb(124, 109, 22) |
| HSL | hsl(51, 70%, 29%) |
| HSV | hsv(51, 82%, 49%) |
| CMYK | cmyk(0%, 12.1%, 82.3%, 51.4%) |
| CIE-LAB | lab(46.02, -3.72, 46.69) |
| CIE-LCH | lch(46.02, 46.84, 94.55°) |
| OKLab | oklab(53.34% -0.0156 0.1013) |
| OKLCH | oklch(53.34% 0.102 98.8) |
| XYZ | xyz(13.9264, 15.2810, 2.9749) |
| Luminance | 0.1528 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.47
Brown Green
#706C11
ΔE00 3.86
Browny Green
#6F6C0A
ΔE00 4.21
Hazel
#8E7618
ΔE00 5.16
Greenish Brown
#696112
ΔE00 5.56
Greeny Brown
#696006
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C6D16 #16257C
analogous
#7C3A16 #7C6D16 #587C16
triadic
#7C6D16 #167C6D #6D167C
tetradic
#7C6D16 #167C3A #16257C #7C1658
square
#7C6D16 #167C3A #16257C #7C1658
split-complementary
#7C6D16 #16587C #3A167C
monochromatic
#1A1705 #483F0D #7C6D16 #B09B1F #DBC232
Accessibility & contrast
On white
5.18
#7C6D16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#7C6D16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C6D16
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C6D16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C6D16 | 1.00 | 5.18 | 4.06 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#7D6F1D
Tritanopia (blue-blind)
#86645D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7c6d16; /* rgb */ color: rgb(124, 109, 22); /* oklch */ color: oklch(53.3% 0.102 98.8);
Tailwind
colors: {
custom: {
50: '#a6965c',
500: '#7c6d16',
950: '#000000',
},
}SCSS
$custom: #7c6d16; $custom-light: #a6965c; $custom-dark: #000000;
JSON
{
"hex": "#7c6d16",
"rgb": {
"r": 124,
"g": 109,
"b": 22
},
"hsl": {
"h": 51.176,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.53338,
"c": 0.10246,
"h": 98.8
},
"luminance": 0.1528
}Semantic roles & 50–950 ramp
primary
#7C6D16
secondary
#3D4EB1
accent
#55ED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79