#CBAC3D#CBAC3D
#CBAC3D is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.131 H 93.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC3D |
|---|---|
| RGB | rgb(203, 172, 61) |
| HSL | hsl(47, 58%, 52%) |
| HSV | hsv(47, 70%, 80%) |
| CMYK | cmyk(0%, 15.3%, 70%, 20.4%) |
| CIE-LAB | lab(71.24, -0.65, 58.68) |
| CIE-LCH | lch(71.24, 58.69, 90.63°) |
| OKLab | oklab(75.2% -0.0072 0.1312) |
| OKLCH | oklch(75.2% 0.131 93.1) |
| XYZ | xyz(40.2255, 42.5407, 10.5064) |
| Luminance | 0.4254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.89
Burnt Yellow
#D5AB09
ΔE00 4.26
Brownish Yellow
#C9B003
ΔE00 4.56
Mustard (survey)
#CEB301
ΔE00 4.83
Desert
#CCAD60
ΔE00 4.96
Gold (survey)
#DBB40C
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC3D #3D5CCB
analogous
#CB653D #CBAC3D #A3CB3D
triadic
#CBAC3D #3DCBAC #AC3DCB
tetradic
#CBAC3D #3DCB65 #3D5CCB #CB3DA3
square
#CBAC3D #3DCB65 #3D5CCB #CB3DA3
split-complementary
#CBAC3D #3DA3CB #653DCB
monochromatic
#705E1E #A0862B #CBAC3D #D8C16D #E5D59E
Accessibility & contrast
On white
2.21
#CBAC3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#CBAC3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC3D
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC3D | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92E
Deuteranopia (green-blind)
#C6B243
Tritanopia (blue-blind)
#DB9E95
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbac3d; /* rgb */ color: rgb(203, 172, 61); /* oklch */ color: oklch(75.2% 0.131 93.1);
Tailwind
colors: {
custom: {
50: '#dfc479',
500: '#cbac3d',
950: '#000000',
},
}SCSS
$custom: #cbac3d; $custom-light: #dfc479; $custom-dark: #000000;
JSON
{
"hex": "#cbac3d",
"rgb": {
"r": 203,
"g": 172,
"b": 61
},
"hsl": {
"h": 46.901,
"s": 57.724,
"l": 51.765
},
"oklch": {
"l": 0.75195,
"c": 0.13136,
"h": 93.1
},
"luminance": 0.42538
}Semantic roles & 50–950 ramp
primary
#CBAC3D
secondary
#93A0D1
accent
#68E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B