#CBAC3F#CBAC3F
#CBAC3F is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.2% C 0.130 H 92.9°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAC3F |
|---|---|
| RGB | rgb(203, 172, 63) |
| HSL | hsl(47, 57%, 52%) |
| HSV | hsv(47, 69%, 80%) |
| CMYK | cmyk(0%, 15.3%, 69%, 20.4%) |
| CIE-LAB | lab(71.26, -0.54, 57.88) |
| CIE-LCH | lch(71.26, 57.88, 90.54°) |
| OKLab | oklab(75.21% -0.0066 0.1298) |
| OKLCH | oklch(75.21% 0.13 92.9) |
| XYZ | xyz(40.2804, 42.5627, 10.7954) |
| Luminance | 0.4256 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.01
Burnt Yellow
#D5AB09
ΔE00 4.42
Desert
#CCAD60
ΔE00 4.73
Brownish Yellow
#C9B003
ΔE00 4.78
Mustard (survey)
#CEB301
ΔE00 5.04
Gold (survey)
#DBB40C
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAC3F #3F5ECB
analogous
#CB663F #CBAC3F #A4CB3F
triadic
#CBAC3F #3FCBAC #AC3FCB
tetradic
#CBAC3F #3FCB66 #3F5ECB #CB3FA4
square
#CBAC3F #3FCB66 #3F5ECB #CB3FA4
split-complementary
#CBAC3F #3FA4CB #663FCB
monochromatic
#715F1F #A1872C #CBAC3F #D8C16F #E5D69F
Accessibility & contrast
On white
2.21
#CBAC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#CBAC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAC3F
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAC3F | 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)
#BEA930
Deuteranopia (green-blind)
#C6B245
Tritanopia (blue-blind)
#DB9F96
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #cbac3f; /* rgb */ color: rgb(203, 172, 63); /* oklch */ color: oklch(75.2% 0.130 92.9);
Tailwind
colors: {
custom: {
50: '#dfc47a',
500: '#cbac3f',
950: '#000000',
},
}SCSS
$custom: #cbac3f; $custom-light: #dfc47a; $custom-dark: #000000;
JSON
{
"hex": "#cbac3f",
"rgb": {
"r": 203,
"g": 172,
"b": 63
},
"hsl": {
"h": 46.714,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.75211,
"c": 0.12998,
"h": 92.9
},
"luminance": 0.4256
}Semantic roles & 50–950 ramp
primary
#CBAC3F
secondary
#94A2D1
accent
#69E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C