#CBAF49#CBAF49
#CBAF49 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.124 H 93.8°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF49 |
|---|---|
| RGB | rgb(203, 175, 73) |
| HSL | hsl(47, 56%, 54%) |
| HSV | hsv(47, 64%, 80%) |
| CMYK | cmyk(0%, 13.8%, 64%, 20.4%) |
| CIE-LAB | lab(72.12, -1.54, 54.48) |
| CIE-LCH | lch(72.12, 54.50, 91.62°) |
| OKLab | oklab(75.92% -0.0083 0.1242) |
| OKLCH | oklch(75.92% 0.125 93.8) |
| XYZ | xyz(41.1631, 43.8396, 12.5958) |
| Luminance | 0.4384 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.12
Mustard
#DBB42C
ΔE00 4.64
Brownish Yellow
#C9B003
ΔE00 5.28
Mustard (survey)
#CEB301
ΔE00 5.51
Burnt Yellow
#D5AB09
ΔE00 5.58
Dark Yellow
#D5B60A
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF49 #4965CB
analogous
#CB6E49 #CBAF49 #A6CB49
triadic
#CBAF49 #49CBAF #AF49CB
tetradic
#CBAF49 #49CB6E #4965CB #CB49A6
square
#CBAF49 #49CB6E #4965CB #CB49A6
split-complementary
#CBAF49 #49A6CB #6E49CB
monochromatic
#776522 #A78D30 #CBAF49 #D9C479 #E6D9A8
Accessibility & contrast
On white
2.15
#CBAF49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#CBAF49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF49
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF49 | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC3D
Deuteranopia (green-blind)
#C7B44E
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cbaf49; /* rgb */ color: rgb(203, 175, 73); /* oklch */ color: oklch(75.9% 0.124 93.8);
Tailwind
colors: {
custom: {
50: '#dec680',
500: '#cbaf49',
950: '#000000',
},
}SCSS
$custom: #cbaf49; $custom-light: #dec680; $custom-dark: #000000;
JSON
{
"hex": "#cbaf49",
"rgb": {
"r": 203,
"g": 175,
"b": 73
},
"hsl": {
"h": 47.077,
"s": 55.556,
"l": 54.118
},
"oklch": {
"l": 0.7592,
"c": 0.1245,
"h": 93.8
},
"luminance": 0.43837
}Semantic roles & 50–950 ramp
primary
#CBAF49
secondary
#9CA8D4
accent
#69DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C