#C7AF3F#C7AF3F
#C7AF3F is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.4% C 0.132 H 96.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AF3F |
|---|---|
| RGB | rgb(199, 175, 63) |
| HSL | hsl(49, 55%, 51%) |
| HSV | hsv(49, 68%, 78%) |
| CMYK | cmyk(0%, 12.1%, 68.3%, 22%) |
| CIE-LAB | lab(71.67, -3.85, 58.18) |
| CIE-LCH | lch(71.67, 58.30, 93.79°) |
| OKLab | oklab(75.45% -0.0159 0.1306) |
| OKLCH | oklch(75.45% 0.132 96.9) |
| XYZ | xyz(39.7822, 43.1629, 10.9375) |
| Luminance | 0.4316 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.95
Muddy Yellow
#BFAC05
ΔE00 4.06
Mustard (survey)
#CEB301
ΔE00 4.38
Mustard
#DBB42C
ΔE00 4.92
Dark Yellow
#D5B60A
ΔE00 4.94
Olive Yellow
#C2B709
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AF3F #3F57C7
analogous
#C76B3F #C7AF3F #9BC73F
triadic
#C7AF3F #3FC7AF #AF3FC7
tetradic
#C7AF3F #3FC76B #3F57C7 #C73F9B
square
#C7AF3F #3FC76B #3F57C7 #C73F9B
split-complementary
#C7AF3F #3F9BC7 #6B3FC7
monochromatic
#6C5F20 #9B882D #C7AF3F #D5C36E #E3D69E
Accessibility & contrast
On white
2.18
#C7AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#C7AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AF3F
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AF3F | 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)
#C0AB30
Deuteranopia (green-blind)
#C6B345
Tritanopia (blue-blind)
#D6A298
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c7af3f; /* rgb */ color: rgb(199, 175, 63); /* oklch */ color: oklch(75.4% 0.132 96.9);
Tailwind
colors: {
custom: {
50: '#dcc67a',
500: '#c7af3f',
950: '#000000',
},
}SCSS
$custom: #c7af3f; $custom-light: #dcc67a; $custom-dark: #000000;
JSON
{
"hex": "#c7af3f",
"rgb": {
"r": 199,
"g": 175,
"b": 63
},
"hsl": {
"h": 49.412,
"s": 54.839,
"l": 51.373
},
"oklch": {
"l": 0.75446,
"c": 0.13153,
"h": 96.9
},
"luminance": 0.43161
}Semantic roles & 50–950 ramp
primary
#C7AF3F
secondary
#939ECF
accent
#64DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C