#CBAC47#CBAC47
#CBAC47 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.124 H 92.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC47 |
|---|---|
| RGB | rgb(203, 172, 71) |
| HSL | hsl(46, 56%, 54%) |
| HSV | hsv(46, 65%, 80%) |
| CMYK | cmyk(0%, 15.3%, 65%, 20.4%) |
| CIE-LAB | lab(71.32, -0.08, 54.51) |
| CIE-LCH | lch(71.32, 54.51, 90.08°) |
| OKLab | oklab(75.28% -0.0043 0.124) |
| OKLCH | oklch(75.28% 0.124 92) |
| XYZ | xyz(40.5204, 42.6587, 12.0597) |
| Luminance | 0.4266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.74
Mustard
#DBB42C
ΔE00 4.63
Burnt Yellow
#D5AB09
ΔE00 5.16
Sandy Brown
#C4A661
ΔE00 5.32
Brownish Yellow
#C9B003
ΔE00 5.72
Ocher
#BF9B0C
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC47 #4766CB
analogous
#CB6A47 #CBAC47 #A8CB47
triadic
#CBAC47 #47CBAC #AC47CB
tetradic
#CBAC47 #47CB6A #4766CB #CB47A8
square
#CBAC47 #47CB6A #4766CB #CB47A8
split-complementary
#CBAC47 #47A8CB #6A47CB
monochromatic
#766221 #A68A2F #CBAC47 #D8C277 #E6D7A6
Accessibility & contrast
On white
2.20
#CBAC47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#CBAC47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC47
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC47 | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA93B
Deuteranopia (green-blind)
#C5B24C
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cbac47; /* rgb */ color: rgb(203, 172, 71); /* oklch */ color: oklch(75.3% 0.124 92.0);
Tailwind
colors: {
custom: {
50: '#dec47f',
500: '#cbac47',
950: '#000000',
},
}SCSS
$custom: #cbac47; $custom-light: #dec47f; $custom-dark: #000000;
JSON
{
"hex": "#cbac47",
"rgb": {
"r": 203,
"g": 172,
"b": 71
},
"hsl": {
"h": 45.909,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.75284,
"c": 0.12406,
"h": 92
},
"luminance": 0.42656
}Semantic roles & 50–950 ramp
primary
#CBAC47
secondary
#9BA8D3
accent
#6CDF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C