#C7AA3B#C7AA3B
#C7AA3B is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.131 H 94.1°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AA3B |
|---|---|
| RGB | rgb(199, 170, 59) |
| HSL | hsl(48, 56%, 51%) |
| HSV | hsv(48, 70%, 78%) |
| CMYK | cmyk(0%, 14.6%, 70.4%, 22%) |
| CIE-LAB | lab(70.32, -1.43, 58.44) |
| CIE-LCH | lch(70.32, 58.46, 91.40°) |
| OKLab | oklab(74.37% -0.0094 0.1304) |
| OKLCH | oklch(74.37% 0.131 94.1) |
| XYZ | xyz(38.7193, 41.2095, 10.0516) |
| Luminance | 0.4121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.48
Mustard
#DBB42C
ΔE00 4.61
Burnt Yellow
#D5AB09
ΔE00 4.70
Muddy Yellow
#BFAC05
ΔE00 4.73
Mustard (survey)
#CEB301
ΔE00 4.94
Ocher
#BF9B0C
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AA3B #3B58C7
analogous
#C7643B #C7AA3B #9EC73B
triadic
#C7AA3B #3BC7AA #AA3BC7
tetradic
#C7AA3B #3BC764 #3B58C7 #C73B9E
square
#C7AA3B #3BC764 #3B58C7 #C73B9E
split-complementary
#C7AA3B #3B9EC7 #643BC7
monochromatic
#695A1E #99822C #C7AA3B #D5BF6B #E2D39A
Accessibility & contrast
On white
2.27
#C7AA3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#C7AA3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AA3B
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AA3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AA3B | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#C3B041
Tritanopia (blue-blind)
#D79D93
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c7aa3b; /* rgb */ color: rgb(199, 170, 59); /* oklch */ color: oklch(74.4% 0.131 94.1);
Tailwind
colors: {
custom: {
50: '#dcc277',
500: '#c7aa3b',
950: '#000000',
},
}SCSS
$custom: #c7aa3b; $custom-light: #dcc277; $custom-dark: #000000;
JSON
{
"hex": "#c7aa3b",
"rgb": {
"r": 199,
"g": 170,
"b": 59
},
"hsl": {
"h": 47.571,
"s": 55.556,
"l": 50.588
},
"oklch": {
"l": 0.74374,
"c": 0.13078,
"h": 94.1
},
"luminance": 0.41207
}Semantic roles & 50–950 ramp
primary
#C7AA3B
secondary
#909DCE
accent
#68DF49
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B