#CBAC46#CBAC46
#CBAC46 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.3% C 0.125 H 92.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC46 |
|---|---|
| RGB | rgb(203, 172, 70) |
| HSL | hsl(46, 56%, 54%) |
| HSV | hsv(46, 66%, 80%) |
| CMYK | cmyk(0%, 15.3%, 65.5%, 20.4%) |
| CIE-LAB | lab(71.31, -0.14, 54.94) |
| CIE-LCH | lch(71.31, 54.94, 90.15°) |
| OKLab | oklab(75.28% -0.0046 0.1247) |
| OKLCH | oklch(75.28% 0.125 92.1) |
| XYZ | xyz(40.4886, 42.6460, 11.8920) |
| Luminance | 0.4264 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.87
Mustard
#DBB42C
ΔE00 4.54
Burnt Yellow
#D5AB09
ΔE00 5.06
Sandy Brown
#C4A661
ΔE00 5.44
Brownish Yellow
#C9B003
ΔE00 5.60
Gold (survey)
#DBB40C
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC46 #4665CB
analogous
#CB6946 #CBAC46 #A7CB46
triadic
#CBAC46 #46CBAC #AC46CB
tetradic
#CBAC46 #46CB69 #4665CB #CB46A7
square
#CBAC46 #46CB69 #4665CB #CB46A7
split-complementary
#CBAC46 #46A7CB #6946CB
monochromatic
#766221 #A58A2E #CBAC46 #D8C176 #E6D7A6
Accessibility & contrast
On white
2.20
#CBAC46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#CBAC46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC46
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC46 | 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)
#BEA93A
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cbac46; /* rgb */ color: rgb(203, 172, 70); /* oklch */ color: oklch(75.3% 0.125 92.1);
Tailwind
colors: {
custom: {
50: '#dec47e',
500: '#cbac46',
950: '#000000',
},
}SCSS
$custom: #cbac46; $custom-light: #dec47e; $custom-dark: #000000;
JSON
{
"hex": "#cbac46",
"rgb": {
"r": 203,
"g": 172,
"b": 70
},
"hsl": {
"h": 46.015,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.75275,
"c": 0.12483,
"h": 92.1
},
"luminance": 0.42644
}Semantic roles & 50–950 ramp
primary
#CBAC46
secondary
#9AA7D3
accent
#6CDF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C