#C7AF4E#C7AF4E
#C7AF4E is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.120 H 95.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AF4E |
|---|---|
| RGB | rgb(199, 175, 78) |
| HSL | hsl(48, 52%, 54%) |
| HSV | hsv(48, 61%, 78%) |
| CMYK | cmyk(0%, 12.1%, 60.8%, 22%) |
| CIE-LAB | lab(71.79, -2.92, 51.75) |
| CIE-LCH | lch(71.79, 51.84, 93.23°) |
| OKLab | oklab(75.59% -0.0114 0.1192) |
| OKLCH | oklch(75.59% 0.12 95.5) |
| XYZ | xyz(40.2600, 43.3540, 13.4538) |
| Luminance | 0.4335 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.11
Sandy Brown
#C4A661
ΔE00 5.64
Brownish Yellow
#C9B003
ΔE00 5.81
Mustard
#DBB42C
ΔE00 5.83
Muddy Yellow
#BFAC05
ΔE00 5.84
Tan (survey)
#D1B26F
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AF4E #4E66C7
analogous
#C7734E #C7AF4E #A3C74E
triadic
#C7AF4E #4EC7AF #AF4EC7
tetradic
#C7AF4E #4EC773 #4E66C7 #C74EA3
square
#C7AF4E #4EC773 #4E66C7 #C74EA3
split-complementary
#C7AF4E #4EA3C7 #734EC7
monochromatic
#756625 #A48E34 #C7AF4E #D6C47C #E4D9AB
Accessibility & contrast
On white
2.17
#C7AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#C7AF4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AF4E
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AF4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AF4E | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAC44
Deuteranopia (green-blind)
#C5B353
Tritanopia (blue-blind)
#D6A39A
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c7af4e; /* rgb */ color: rgb(199, 175, 78); /* oklch */ color: oklch(75.6% 0.120 95.5);
Tailwind
colors: {
custom: {
50: '#dbc683',
500: '#c7af4e',
950: '#000000',
},
}SCSS
$custom: #c7af4e; $custom-light: #dbc683; $custom-dark: #000000;
JSON
{
"hex": "#c7af4e",
"rgb": {
"r": 199,
"g": 175,
"b": 78
},
"hsl": {
"h": 48.099,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.7559,
"c": 0.11977,
"h": 95.5
},
"luminance": 0.43352
}Semantic roles & 50–950 ramp
primary
#C7AF4E
secondary
#9FA9D2
accent
#69DB4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C