#CBAC42#CBAC42
#CBAC42 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.128 H 92.6°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC42 |
|---|---|
| RGB | rgb(203, 172, 66) |
| HSL | hsl(46, 57%, 53%) |
| HSV | hsv(46, 67%, 80%) |
| CMYK | cmyk(0%, 15.3%, 67.5%, 20.4%) |
| CIE-LAB | lab(71.28, -0.37, 56.64) |
| CIE-LCH | lch(71.28, 56.64, 90.38°) |
| OKLab | oklab(75.24% -0.0058 0.1277) |
| OKLCH | oklch(75.24% 0.128 92.6) |
| XYZ | xyz(40.3665, 42.5972, 11.2491) |
| Luminance | 0.4259 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.22
Desert
#CCAD60
ΔE00 4.38
Burnt Yellow
#D5AB09
ΔE00 4.68
Brownish Yellow
#C9B003
ΔE00 5.12
Mustard (survey)
#CEB301
ΔE00 5.37
Gold (survey)
#DBB40C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC42 #4261CB
analogous
#CB6742 #CBAC42 #A6CB42
triadic
#CBAC42 #42CBAC #AC42CB
tetradic
#CBAC42 #42CB67 #4261CB #CB42A6
square
#CBAC42 #42CB67 #4261CB #CB42A6
split-complementary
#CBAC42 #42A6CB #6742CB
monochromatic
#736020 #A3882D #CBAC42 #D8C172 #E5D6A2
Accessibility & contrast
On white
2.21
#CBAC42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.52
#CBAC42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC42
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC42 | 1.00 | 2.21 | 9.52 | 9.52 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA935
Deuteranopia (green-blind)
#C6B247
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbac42; /* rgb */ color: rgb(203, 172, 66); /* oklch */ color: oklch(75.2% 0.128 92.6);
Tailwind
colors: {
custom: {
50: '#dec47c',
500: '#cbac42',
950: '#000000',
},
}SCSS
$custom: #cbac42; $custom-light: #dec47c; $custom-dark: #000000;
JSON
{
"hex": "#cbac42",
"rgb": {
"r": 203,
"g": 172,
"b": 66
},
"hsl": {
"h": 46.423,
"s": 56.846,
"l": 52.745
},
"oklch": {
"l": 0.75238,
"c": 0.12782,
"h": 92.6
},
"luminance": 0.42595
}Semantic roles & 50–950 ramp
primary
#CBAC42
secondary
#97A4D2
accent
#6AE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C