#C7A82A#C7A82A
#C7A82A is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.8% C 0.140 H 94.2°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A82A |
|---|---|
| RGB | rgb(199, 168, 42) |
| HSL | hsl(48, 65%, 47%) |
| HSV | hsv(48, 79%, 78%) |
| CMYK | cmyk(0%, 15.6%, 78.9%, 22%) |
| CIE-LAB | lab(69.69, -1.11, 64.08) |
| CIE-LCH | lch(69.69, 64.09, 90.99°) |
| OKLab | oklab(73.85% -0.0103 0.1391) |
| OKLCH | oklch(73.85% 0.14 94.2) |
| XYZ | xyz(37.9759, 40.3168, 7.9717) |
| Luminance | 0.4032 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.63
Brownish Yellow
#C9B003
ΔE00 3.68
Ocher
#BF9B0C
ΔE00 3.90
Muddy Yellow
#BFAC05
ΔE00 4.10
Mustard (survey)
#CEB301
ΔE00 4.19
Mustard
#DBB42C
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A82A #2A49C7
analogous
#C75A2A #C7A82A #97C72A
triadic
#C7A82A #2AC7A8 #A82AC7
tetradic
#C7A82A #2AC75A #2A49C7 #C72A97
square
#C7A82A #2AC75A #2A49C7 #C72A97
split-complementary
#C7A82A #2A97C7 #5A2AC7
monochromatic
#625315 #947D1F #C7A82A #DBC053 #E5D386
Accessibility & contrast
On white
2.32
#C7A82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.06
#C7A82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A82A
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A82A | 1.00 | 2.32 | 9.06 | 9.06 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA50B
Deuteranopia (green-blind)
#C2AE32
Tritanopia (blue-blind)
#D79A90
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c7a82a; /* rgb */ color: rgb(199, 168, 42); /* oklch */ color: oklch(73.8% 0.140 94.2);
Tailwind
colors: {
custom: {
50: '#dcc16e',
500: '#c7a82a',
950: '#000000',
},
}SCSS
$custom: #c7a82a; $custom-light: #dcc16e; $custom-dark: #000000;
JSON
{
"hex": "#c7a82a",
"rgb": {
"r": 199,
"g": 168,
"b": 42
},
"hsl": {
"h": 48.153,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.73845,
"c": 0.1395,
"h": 94.2
},
"luminance": 0.40315
}Semantic roles & 50–950 ramp
primary
#C7A82A
secondary
#7E8ECF
accent
#61E840
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B