#C7A93B#C7A93B
#C7A93B is a light, vivid yellow. Relative luminance 0.408; OKLCH L 74.2% C 0.130 H 93.5°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A93B |
|---|---|
| RGB | rgb(199, 169, 59) |
| HSL | hsl(47, 56%, 51%) |
| HSV | hsv(47, 70%, 78%) |
| CMYK | cmyk(0%, 15.1%, 70.4%, 22%) |
| CIE-LAB | lab(70.06, -0.90, 58.18) |
| CIE-LCH | lch(70.06, 58.18, 90.88°) |
| OKLab | oklab(74.17% -0.0079 0.1299) |
| OKLCH | oklch(74.17% 0.13 93.5) |
| XYZ | xyz(38.5326, 40.8360, 9.9894) |
| Luminance | 0.4083 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 4.63
Mustard
#DBB42C
ΔE00 4.68
Ocher
#BF9B0C
ΔE00 4.69
Brownish Yellow
#C9B003
ΔE00 4.77
Muddy Yellow
#BFAC05
ΔE00 5.02
Desert
#CCAD60
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A93B #3B59C7
analogous
#C7633B #C7A93B #9FC73B
triadic
#C7A93B #3BC7A9 #A93BC7
tetradic
#C7A93B #3BC763 #3B59C7 #C73B9F
square
#C7A93B #3BC763 #3B59C7 #C73B9F
split-complementary
#C7A93B #3B9FC7 #633BC7
monochromatic
#69591E #99822C #C7A93B #D5BE6B #E2D39A
Accessibility & contrast
On white
2.29
#C7A93B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C7A93B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A93B
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A93B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A93B | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA62C
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D79C93
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c7a93b; /* rgb */ color: rgb(199, 169, 59); /* oklch */ color: oklch(74.2% 0.130 93.5);
Tailwind
colors: {
custom: {
50: '#dcc277',
500: '#c7a93b',
950: '#000000',
},
}SCSS
$custom: #c7a93b; $custom-light: #dcc277; $custom-dark: #000000;
JSON
{
"hex": "#c7a93b",
"rgb": {
"r": 199,
"g": 169,
"b": 59
},
"hsl": {
"h": 47.143,
"s": 55.556,
"l": 50.588
},
"oklch": {
"l": 0.74167,
"c": 0.13012,
"h": 93.5
},
"luminance": 0.40834
}Semantic roles & 50–950 ramp
primary
#C7A93B
secondary
#909DCE
accent
#69DF49
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B