#C7AF3D#C7AF3D
#C7AF3D is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.4% C 0.133 H 97.1°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AF3D |
|---|---|
| RGB | rgb(199, 175, 61) |
| HSL | hsl(50, 55%, 51%) |
| HSV | hsv(50, 69%, 78%) |
| CMYK | cmyk(0%, 12.1%, 69.3%, 22%) |
| CIE-LAB | lab(71.65, -3.96, 58.98) |
| CIE-LCH | lch(71.65, 59.11, 93.84°) |
| OKLab | oklab(75.43% -0.0164 0.1319) |
| OKLCH | oklch(75.43% 0.133 97.1) |
| XYZ | xyz(39.7274, 43.1410, 10.6485) |
| Luminance | 0.4314 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.73
Muddy Yellow
#BFAC05
ΔE00 3.86
Mustard (survey)
#CEB301
ΔE00 4.18
Dark Yellow
#D5B60A
ΔE00 4.76
Mustard
#DBB42C
ΔE00 4.84
Olive Yellow
#C2B709
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AF3D #3D55C7
analogous
#C76A3D #C7AF3D #9AC73D
triadic
#C7AF3D #3DC7AF #AF3DC7
tetradic
#C7AF3D #3DC76A #3D55C7 #C73D9A
square
#C7AF3D #3DC76A #3D55C7 #C73D9A
split-complementary
#C7AF3D #3D9AC7 #6A3DC7
monochromatic
#6B5E1F #9A872D #C7AF3D #D5C36C #E2D69C
Accessibility & contrast
On white
2.18
#C7AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#C7AF3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AF3D
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AF3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AF3D | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2D
Deuteranopia (green-blind)
#C7B343
Tritanopia (blue-blind)
#D6A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c7af3d; /* rgb */ color: rgb(199, 175, 61); /* oklch */ color: oklch(75.4% 0.133 97.1);
Tailwind
colors: {
custom: {
50: '#dcc679',
500: '#c7af3d',
950: '#000000',
},
}SCSS
$custom: #c7af3d; $custom-light: #dcc679; $custom-dark: #000000;
JSON
{
"hex": "#c7af3d",
"rgb": {
"r": 199,
"g": 175,
"b": 61
},
"hsl": {
"h": 49.565,
"s": 55.2,
"l": 50.98
},
"oklch": {
"l": 0.75429,
"c": 0.13294,
"h": 97.1
},
"luminance": 0.43139
}Semantic roles & 50–950 ramp
primary
#C7AF3D
secondary
#919CCE
accent
#63DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#151309
muted
#84827B