#CBAC3A#CBAC3A
#CBAC3A is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.133 H 93.4°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC3A |
|---|---|
| RGB | rgb(203, 172, 58) |
| HSL | hsl(47, 58%, 51%) |
| HSV | hsv(47, 71%, 80%) |
| CMYK | cmyk(0%, 15.3%, 71.4%, 20.4%) |
| CIE-LAB | lab(71.22, -0.80, 59.87) |
| CIE-LCH | lch(71.22, 59.87, 90.76°) |
| OKLab | oklab(75.17% -0.0079 0.1331) |
| OKLCH | oklch(75.17% 0.133 93.4) |
| XYZ | xyz(40.1470, 42.5093, 10.0927) |
| Luminance | 0.4251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.73
Burnt Yellow
#D5AB09
ΔE00 4.03
Brownish Yellow
#C9B003
ΔE00 4.25
Mustard (survey)
#CEB301
ΔE00 4.53
Gold (survey)
#DBB40C
ΔE00 4.74
Dark Yellow
#D5B60A
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC3A #3A59CB
analogous
#CB633A #CBAC3A #A2CB3A
triadic
#CBAC3A #3ACBAC #AC3ACB
tetradic
#CBAC3A #3ACB63 #3A59CB #CB3AA2
square
#CBAC3A #3ACB63 #3A59CB #CB3AA2
split-complementary
#CBAC3A #3AA2CB #633ACB
monochromatic
#6E5C1D #9E852A #CBAC3A #D8C06A #E5D59B
Accessibility & contrast
On white
2.21
#CBAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.50
#CBAC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC3A
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC3A | 1.00 | 2.21 | 9.50 | 9.50 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbac3a; /* rgb */ color: rgb(203, 172, 58); /* oklch */ color: oklch(75.2% 0.133 93.4);
Tailwind
colors: {
custom: {
50: '#dfc477',
500: '#cbac3a',
950: '#000000',
},
}SCSS
$custom: #cbac3a; $custom-light: #dfc477; $custom-dark: #000000;
JSON
{
"hex": "#cbac3a",
"rgb": {
"r": 203,
"g": 172,
"b": 58
},
"hsl": {
"h": 47.172,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.75171,
"c": 0.13336,
"h": 93.4
},
"luminance": 0.42507
}Semantic roles & 50–950 ramp
primary
#CBAC3A
secondary
#909ED0
accent
#68E146
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B