#C5A231#C5A231
#C5A231 is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.5% C 0.132 H 90.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A231 |
|---|---|
| RGB | rgb(197, 162, 49) |
| HSL | hsl(46, 60%, 48%) |
| HSV | hsv(46, 75%, 77%) |
| CMYK | cmyk(0%, 17.8%, 75.1%, 22.7%) |
| CIE-LAB | lab(67.97, 1.49, 59.96) |
| CIE-LCH | lch(67.97, 59.98, 88.58°) |
| OKLab | oklab(72.45% -0.0021 0.1318) |
| OKLCH | oklch(72.45% 0.132 90.9) |
| XYZ | xyz(36.5028, 37.9350, 8.3047) |
| Luminance | 0.3793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.84
Ocre
#C69C04
ΔE00 3.11
Yellow Ochre
#CB9D06
ΔE00 3.59
Burnt Yellow
#D5AB09
ΔE00 4.52
Dark Gold
#B59410
ΔE00 4.61
Yellow Brown
#B79400
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A231 #3154C5
analogous
#C55831 #C5A231 #9EC531
triadic
#C5A231 #31C5A2 #A231C5
tetradic
#C5A231 #31C558 #3154C5 #C5319E
square
#C5A231 #31C558 #3154C5 #C5319E
split-complementary
#C5A231 #319EC5 #5831C5
monochromatic
#635119 #947A25 #C5A231 #D7BA5D #E3CF8E
Accessibility & contrast
On white
2.45
#C5A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.59
#C5A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A231
8.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A231 | 1.00 | 2.45 | 8.59 | 8.59 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A01E
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#D5948C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c5a231; /* rgb */ color: rgb(197, 162, 49); /* oklch */ color: oklch(72.5% 0.132 90.9);
Tailwind
colors: {
custom: {
50: '#dbbd71',
500: '#c5a231',
950: '#000000',
},
}SCSS
$custom: #c5a231; $custom-light: #dbbd71; $custom-dark: #000000;
JSON
{
"hex": "#c5a231",
"rgb": {
"r": 197,
"g": 162,
"b": 49
},
"hsl": {
"h": 45.811,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72452,
"c": 0.13186,
"h": 90.9
},
"luminance": 0.37933
}Semantic roles & 50–950 ramp
primary
#C5A231
secondary
#8596CD
accent
#6AE344
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B