#C5A839#C5A839
#C5A839 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.7% C 0.130 H 94.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #C5A839 |
|---|---|
| RGB | rgb(197, 168, 57) |
| HSL | hsl(48, 55%, 50%) |
| HSV | hsv(48, 71%, 77%) |
| CMYK | cmyk(0%, 14.7%, 71.1%, 22.7%) |
| CIE-LAB | lab(69.59, -1.34, 58.45) |
| CIE-LCH | lch(69.59, 58.47, 91.31°) |
| OKLab | oklab(73.75% -0.0093 0.1302) |
| OKLCH | oklch(73.75% 0.13 94.1) |
| XYZ | xyz(37.7691, 40.1731, 9.6349) |
| Luminance | 0.4017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.48
Brownish Yellow
#C9B003
ΔE00 4.69
Muddy Yellow
#BFAC05
ΔE00 4.76
Burnt Yellow
#D5AB09
ΔE00 4.83
Mustard
#DBB42C
ΔE00 5.01
Ocre
#C69C04
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C5A839 #3956C5
analogous
#C56239 #C5A839 #9CC539
triadic
#C5A839 #39C5A8 #A839C5
tetradic
#C5A839 #39C562 #3956C5 #C5399C
square
#C5A839 #39C562 #3956C5 #C5399C
split-complementary
#C5A839 #399CC5 #6239C5
monochromatic
#66571E #96802B #C5A839 #D3BD68 #E1D297
Accessibility & contrast
On white
2.32
#C5A839 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#C5A839 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C5A839
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C5A839 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C5A839 | 1.00 | 2.32 | 9.03 | 9.03 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#C1AE3F
Tritanopia (blue-blind)
#D59B92
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #c5a839; /* rgb */ color: rgb(197, 168, 57); /* oklch */ color: oklch(73.7% 0.130 94.1);
Tailwind
colors: {
custom: {
50: '#dac176',
500: '#c5a839',
950: '#000000',
},
}SCSS
$custom: #c5a839; $custom-light: #dac176; $custom-dark: #000000;
JSON
{
"hex": "#c5a839",
"rgb": {
"r": 197,
"g": 168,
"b": 57
},
"hsl": {
"h": 47.571,
"s": 55.118,
"l": 49.804
},
"oklch": {
"l": 0.73748,
"c": 0.13049,
"h": 94.1
},
"luminance": 0.40171
}Semantic roles & 50–950 ramp
primary
#C5A839
secondary
#8D9ACD
accent
#68DE49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B