#C7AB36#C7AB36
#C7AB36 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.135 H 95.2°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AB36 |
|---|---|
| RGB | rgb(199, 171, 54) |
| HSL | hsl(48, 57%, 50%) |
| HSV | hsv(48, 73%, 78%) |
| CMYK | cmyk(0%, 14.1%, 72.9%, 22%) |
| CIE-LAB | lab(70.55, -2.20, 60.63) |
| CIE-LCH | lch(70.55, 60.67, 92.08°) |
| OKLab | oklab(74.54% -0.0122 0.1342) |
| OKLCH | oklch(74.54% 0.135 95.2) |
| XYZ | xyz(38.7840, 41.5364, 9.4638) |
| Luminance | 0.4153 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.73
Muddy Yellow
#BFAC05
ΔE00 4.01
Mustard (survey)
#CEB301
ΔE00 4.22
Mustard
#DBB42C
ΔE00 4.39
Burnt Yellow
#D5AB09
ΔE00 4.52
Dark Yellow
#D5B60A
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AB36 #3652C7
analogous
#C76336 #C7AB36 #9AC736
triadic
#C7AB36 #36C7AB #AB36C7
tetradic
#C7AB36 #36C763 #3652C7 #C7369A
square
#C7AB36 #36C763 #3652C7 #C7369A
split-complementary
#C7AB36 #369AC7 #6336C7
monochromatic
#67581C #978229 #C7AB36 #D5C065 #E2D395
Accessibility & contrast
On white
2.26
#C7AB36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#C7AB36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AB36
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AB36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AB36 | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA823
Deuteranopia (green-blind)
#C4B03D
Tritanopia (blue-blind)
#D79E94
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c7ab36; /* rgb */ color: rgb(199, 171, 54); /* oklch */ color: oklch(74.5% 0.135 95.2);
Tailwind
colors: {
custom: {
50: '#dcc375',
500: '#c7ab36',
950: '#000000',
},
}SCSS
$custom: #c7ab36; $custom-light: #dcc375; $custom-dark: #000000;
JSON
{
"hex": "#c7ab36",
"rgb": {
"r": 199,
"g": 171,
"b": 54
},
"hsl": {
"h": 48.414,
"s": 57.312,
"l": 49.608
},
"oklch": {
"l": 0.74543,
"c": 0.1347,
"h": 95.2
},
"luminance": 0.41534
}Semantic roles & 50–950 ramp
primary
#C7AB36
secondary
#8B98CE
accent
#65E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B