#C7A52A#C7A52A
#C7A52A is a light, vivid yellow. Relative luminance 0.392; OKLCH L 73.2% C 0.138 H 92.4°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A52A |
|---|---|
| RGB | rgb(199, 165, 42) |
| HSL | hsl(47, 65%, 47%) |
| HSV | hsv(47, 79%, 78%) |
| CMYK | cmyk(0%, 17.1%, 78.9%, 22%) |
| CIE-LAB | lab(68.91, 0.49, 63.37) |
| CIE-LCH | lch(68.91, 63.38, 89.56°) |
| OKLab | oklab(73.23% -0.0057 0.1376) |
| OKLCH | oklch(73.23% 0.138 92.4) |
| XYZ | xyz(37.4284, 39.2219, 7.7892) |
| Luminance | 0.3922 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.07
Ocre
#C69C04
ΔE00 3.32
Burnt Yellow
#D5AB09
ΔE00 3.55
Yellow Ochre
#CB9D06
ΔE00 3.82
Mustard
#DBB42C
ΔE00 4.65
Brownish Yellow
#C9B003
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A52A #2A4CC7
analogous
#C7562A #C7A52A #9BC72A
triadic
#C7A52A #2AC7A5 #A52AC7
tetradic
#C7A52A #2AC756 #2A4CC7 #C72A9B
square
#C7A52A #2AC756 #2A4CC7 #C72A9B
split-complementary
#C7A52A #2A9BC7 #562AC7
monochromatic
#625115 #947B1F #C7A52A #DBBD53 #E5D186
Accessibility & contrast
On white
2.37
#C7A52A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.84
#C7A52A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A52A
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A52A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A52A | 1.00 | 2.37 | 8.84 | 8.84 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A20D
Deuteranopia (green-blind)
#C0AC32
Tritanopia (blue-blind)
#D8978E
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c7a52a; /* rgb */ color: rgb(199, 165, 42); /* oklch */ color: oklch(73.2% 0.138 92.4);
Tailwind
colors: {
custom: {
50: '#ddbf6e',
500: '#c7a52a',
950: '#000000',
},
}SCSS
$custom: #c7a52a; $custom-light: #ddbf6e; $custom-dark: #000000;
JSON
{
"hex": "#c7a52a",
"rgb": {
"r": 199,
"g": 165,
"b": 42
},
"hsl": {
"h": 47.006,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.73226,
"c": 0.13772,
"h": 92.4
},
"luminance": 0.3922
}Semantic roles & 50–950 ramp
primary
#C7A52A
secondary
#7E8FCF
accent
#64E840
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B