#CBAC45#CBAC45
#CBAC45 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.3% C 0.126 H 92.3°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC45 |
|---|---|
| RGB | rgb(203, 172, 69) |
| HSL | hsl(46, 56%, 53%) |
| HSV | hsv(46, 66%, 80%) |
| CMYK | cmyk(0%, 15.3%, 66%, 20.4%) |
| CIE-LAB | lab(71.31, -0.20, 55.37) |
| CIE-LCH | lch(71.31, 55.37, 90.21°) |
| OKLab | oklab(75.27% -0.0049 0.1255) |
| OKLCH | oklch(75.27% 0.126 92.3) |
| XYZ | xyz(40.4573, 42.6335, 11.7272) |
| Luminance | 0.4263 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.00
Mustard
#DBB42C
ΔE00 4.46
Burnt Yellow
#D5AB09
ΔE00 4.96
Brownish Yellow
#C9B003
ΔE00 5.47
Sandy Brown
#C4A661
ΔE00 5.56
Mustard (survey)
#CEB301
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC45 #4564CB
analogous
#CB6945 #CBAC45 #A7CB45
triadic
#CBAC45 #45CBAC #AC45CB
tetradic
#CBAC45 #45CB69 #4564CB #CB45A7
square
#CBAC45 #45CB69 #4564CB #CB45A7
split-complementary
#CBAC45 #45A7CB #6945CB
monochromatic
#756121 #A5892E #CBAC45 #D8C175 #E6D7A5
Accessibility & contrast
On white
2.20
#CBAC45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#CBAC45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC45
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC45 | 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)
#BEA939
Deuteranopia (green-blind)
#C5B24A
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cbac45; /* rgb */ color: rgb(203, 172, 69); /* oklch */ color: oklch(75.3% 0.126 92.3);
Tailwind
colors: {
custom: {
50: '#dec47d',
500: '#cbac45',
950: '#000000',
},
}SCSS
$custom: #cbac45; $custom-light: #dec47d; $custom-dark: #000000;
JSON
{
"hex": "#cbac45",
"rgb": {
"r": 203,
"g": 172,
"b": 69
},
"hsl": {
"h": 46.119,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.75265,
"c": 0.12559,
"h": 92.3
},
"luminance": 0.42631
}Semantic roles & 50–950 ramp
primary
#CBAC45
secondary
#99A6D3
accent
#6BE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C