#C5AF3E#C5AF3E
#C5AF3E is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.2% C 0.132 H 98.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #C5AF3E |
|---|---|
| RGB | rgb(197, 175, 62) |
| HSL | hsl(50, 54%, 51%) |
| HSV | hsv(50, 69%, 77%) |
| CMYK | cmyk(0%, 11.2%, 68.5%, 22.7%) |
| CIE-LAB | lab(71.47, -4.77, 58.33) |
| CIE-LCH | lch(71.47, 58.53, 94.68°) |
| OKLab | oklab(75.25% -0.0185 0.1308) |
| OKLCH | oklch(75.25% 0.132 98.1) |
| XYZ | xyz(39.2273, 42.8800, 10.7669) |
| Luminance | 0.4288 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.77
Brownish Yellow
#C9B003
ΔE00 3.92
Mustard (survey)
#CEB301
ΔE00 4.43
Dark Yellow
#D5B60A
ΔE00 5.12
Olive Yellow
#C2B709
ΔE00 5.23
Mustard
#DBB42C
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5AF3E #3E54C5
analogous
#C56B3E #C5AF3E #97C53E
triadic
#C5AF3E #3EC5AF #AF3EC5
tetradic
#C5AF3E #3EC56B #3E54C5 #C53E97
square
#C5AF3E #3EC56B #3E54C5 #C53E97
split-complementary
#C5AF3E #3E97C5 #6B3EC5
monochromatic
#695D20 #98872E #C5AF3E #D3C36D #E1D69C
Accessibility & contrast
On white
2.19
#C5AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#C5AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5AF3E
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5AF3E | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2F
Deuteranopia (green-blind)
#C6B244
Tritanopia (blue-blind)
#D4A298
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #c5af3e; /* rgb */ color: rgb(197, 175, 62); /* oklch */ color: oklch(75.2% 0.132 98.1);
Tailwind
colors: {
custom: {
50: '#dac679',
500: '#c5af3e',
950: '#000000',
},
}SCSS
$custom: #c5af3e; $custom-light: #dac679; $custom-dark: #000000;
JSON
{
"hex": "#c5af3e",
"rgb": {
"r": 197,
"g": 175,
"b": 62
},
"hsl": {
"h": 50.222,
"s": 53.785,
"l": 50.784
},
"oklch": {
"l": 0.75248,
"c": 0.1321,
"h": 98.1
},
"luminance": 0.42878
}Semantic roles & 50–950 ramp
primary
#C5AF3E
secondary
#919BCD
accent
#63DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B