#C7A92A#C7A92A
#C7A92A is a light, vivid yellow. Relative luminance 0.407; OKLCH L 74.1% C 0.140 H 94.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A92A |
|---|---|
| RGB | rgb(199, 169, 42) |
| HSL | hsl(49, 65%, 47%) |
| HSV | hsv(49, 79%, 78%) |
| CMYK | cmyk(0%, 15.1%, 78.9%, 22%) |
| CIE-LAB | lab(69.96, -1.64, 64.32) |
| CIE-LCH | lch(69.96, 64.34, 91.46°) |
| OKLab | oklab(74.05% -0.0118 0.1396) |
| OKLCH | oklch(74.05% 0.14 94.8) |
| XYZ | xyz(38.1612, 40.6874, 8.0335) |
| Luminance | 0.4068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.35
Burnt Yellow
#D5AB09
ΔE00 3.74
Muddy Yellow
#BFAC05
ΔE00 3.78
Mustard (survey)
#CEB301
ΔE00 3.88
Mustard
#DBB42C
ΔE00 4.21
Ocher
#BF9B0C
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A92A #2A48C7
analogous
#C75B2A #C7A92A #97C72A
triadic
#C7A92A #2AC7A9 #A92AC7
tetradic
#C7A92A #2AC75B #2A48C7 #C72A97
square
#C7A92A #2AC75B #2A48C7 #C72A97
split-complementary
#C7A92A #2A97C7 #5B2AC7
monochromatic
#625315 #947E1F #C7A92A #DBC153 #E5D386
Accessibility & contrast
On white
2.30
#C7A92A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#C7A92A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A92A
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A92A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A92A | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA60A
Deuteranopia (green-blind)
#C3AF33
Tritanopia (blue-blind)
#D79B91
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c7a92a; /* rgb */ color: rgb(199, 169, 42); /* oklch */ color: oklch(74.1% 0.140 94.8);
Tailwind
colors: {
custom: {
50: '#dcc26f',
500: '#c7a92a',
950: '#000000',
},
}SCSS
$custom: #c7a92a; $custom-light: #dcc26f; $custom-dark: #000000;
JSON
{
"hex": "#c7a92a",
"rgb": {
"r": 199,
"g": 169,
"b": 42
},
"hsl": {
"h": 48.535,
"s": 65.145,
"l": 47.255
},
"oklch": {
"l": 0.74052,
"c": 0.14012,
"h": 94.8
},
"luminance": 0.40685
}Semantic roles & 50–950 ramp
primary
#C7A92A
secondary
#7E8DCF
accent
#60E840
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B