#C7AB43#C7AB43
#C7AB43 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.126 H 94.0°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AB43 |
|---|---|
| RGB | rgb(199, 171, 67) |
| HSL | hsl(47, 54%, 52%) |
| HSV | hsv(47, 66%, 78%) |
| CMYK | cmyk(0%, 14.1%, 66.3%, 22%) |
| CIE-LAB | lab(70.65, -1.51, 55.42) |
| CIE-LCH | lch(70.65, 55.45, 91.57°) |
| OKLab | oklab(74.65% -0.0087 0.1254) |
| OKLCH | oklch(74.65% 0.126 94) |
| XYZ | xyz(39.1311, 41.6753, 11.2921) |
| Luminance | 0.4167 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.45
Mustard
#DBB42C
ΔE00 5.01
Brownish Yellow
#C9B003
ΔE00 5.13
Muddy Yellow
#BFAC05
ΔE00 5.30
Burnt Yellow
#D5AB09
ΔE00 5.39
Mustard (survey)
#CEB301
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AB43 #435FC7
analogous
#C76943 #C7AB43 #A1C743
triadic
#C7AB43 #43C7AB #AB43C7
tetradic
#C7AB43 #43C769 #435FC7 #C743A1
square
#C7AB43 #43C769 #435FC7 #C743A1
split-complementary
#C7AB43 #43A1C7 #6943C7
monochromatic
#6F5E21 #9E862F #C7AB43 #D5C072 #E3D5A1
Accessibility & contrast
On white
2.25
#C7AB43 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.33
#C7AB43 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AB43
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AB43 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AB43 | 1.00 | 2.25 | 9.33 | 9.33 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA836
Deuteranopia (green-blind)
#C3B048
Tritanopia (blue-blind)
#D69E95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c7ab43; /* rgb */ color: rgb(199, 171, 67); /* oklch */ color: oklch(74.7% 0.126 94.0);
Tailwind
colors: {
custom: {
50: '#dbc37c',
500: '#c7ab43',
950: '#000000',
},
}SCSS
$custom: #c7ab43; $custom-light: #dbc37c; $custom-dark: #000000;
JSON
{
"hex": "#c7ab43",
"rgb": {
"r": 199,
"g": 171,
"b": 67
},
"hsl": {
"h": 47.273,
"s": 54.098,
"l": 52.157
},
"oklch": {
"l": 0.7465,
"c": 0.12572,
"h": 94
},
"luminance": 0.41673
}Semantic roles & 50–950 ramp
primary
#C7AB43
secondary
#96A2D0
accent
#6ADD4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C