#C5B541#C5B541
#C5B541 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.5% C 0.135 H 101.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #C5B541 |
|---|---|
| RGB | rgb(197, 181, 65) |
| HSL | hsl(53, 53%, 51%) |
| HSV | hsv(53, 67%, 77%) |
| CMYK | cmyk(0%, 8.1%, 67%, 22.7%) |
| CIE-LAB | lab(73.09, -7.74, 58.76) |
| CIE-LCH | lch(73.09, 59.27, 97.50°) |
| OKLab | oklab(76.54% -0.0266 0.1322) |
| OKLCH | oklch(76.54% 0.135 101.4) |
| XYZ | xyz(40.5057, 45.3014, 11.6104) |
| Luminance | 0.4530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Yellow
#C2B709
ΔE00 4.01
Muddy Yellow
#BFAC05
ΔE00 4.18
Brownish Yellow
#C9B003
ΔE00 4.48
Mustard (survey)
#CEB301
ΔE00 4.85
Mustard Yellow
#D2BD0A
ΔE00 5.01
Puke Yellow
#C2BE0E
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5B541 #4151C5
analogous
#C57341 #C5B541 #93C541
triadic
#C5B541 #41C5B5 #B541C5
tetradic
#C5B541 #41C573 #4151C5 #C54193
square
#C5B541 #41C573 #4151C5 #C54193
split-complementary
#C5B541 #4193C5 #7341C5
monochromatic
#6B6221 #9A8D2F #C5B541 #D3C770 #E2DA9F
Accessibility & contrast
On white
2.09
#C5B541 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.06
#C5B541 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5B541
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5B541 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5B541 | 1.00 | 2.09 | 10.06 | 10.06 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B031
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#D4A89D
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #c5b541; /* rgb */ color: rgb(197, 181, 65); /* oklch */ color: oklch(76.5% 0.135 101.4);
Tailwind
colors: {
custom: {
50: '#daca7c',
500: '#c5b541',
950: '#000000',
},
}SCSS
$custom: #c5b541; $custom-light: #daca7c; $custom-dark: #000000;
JSON
{
"hex": "#c5b541",
"rgb": {
"r": 197,
"g": 181,
"b": 65
},
"hsl": {
"h": 52.727,
"s": 53.226,
"l": 51.373
},
"oklch": {
"l": 0.76537,
"c": 0.13486,
"h": 101.4
},
"luminance": 0.453
}Semantic roles & 50–950 ramp
primary
#C5B541
secondary
#949BCE
accent
#5DDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C