#CBAF3A#CBAF3A
#CBAF3A is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.8% C 0.135 H 95.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF3A |
|---|---|
| RGB | rgb(203, 175, 58) |
| HSL | hsl(48, 58%, 51%) |
| HSV | hsv(48, 71%, 80%) |
| CMYK | cmyk(0%, 13.8%, 71.4%, 20.4%) |
| CIE-LAB | lab(72.00, -2.38, 60.65) |
| CIE-LCH | lch(72.00, 60.69, 92.25°) |
| OKLab | oklab(75.79% -0.0125 0.1348) |
| OKLCH | oklch(75.79% 0.135 95.3) |
| XYZ | xyz(40.7244, 43.6641, 10.2851) |
| Luminance | 0.4366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.54
Mustard
#DBB42C
ΔE00 3.75
Mustard (survey)
#CEB301
ΔE00 3.80
Dark Yellow
#D5B60A
ΔE00 4.13
Muddy Yellow
#BFAC05
ΔE00 4.21
Burnt Yellow
#D5AB09
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF3A #3A56CB
analogous
#CB663A #CBAF3A #9ECB3A
triadic
#CBAF3A #3ACBAF #AF3ACB
tetradic
#CBAF3A #3ACB66 #3A56CB #CB3A9E
square
#CBAF3A #3ACB66 #3A56CB #CB3A9E
split-complementary
#CBAF3A #3A9ECB #663ACB
monochromatic
#6E5E1D #9E882A #CBAF3A #D8C36A #E5D69B
Accessibility & contrast
On white
2.16
#CBAF3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#CBAF3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF3A
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF3A | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB28
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#DBA198
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cbaf3a; /* rgb */ color: rgb(203, 175, 58); /* oklch */ color: oklch(75.8% 0.135 95.3);
Tailwind
colors: {
custom: {
50: '#dfc677',
500: '#cbaf3a',
950: '#000000',
},
}SCSS
$custom: #cbaf3a; $custom-light: #dfc677; $custom-dark: #000000;
JSON
{
"hex": "#cbaf3a",
"rgb": {
"r": 203,
"g": 175,
"b": 58
},
"hsl": {
"h": 48.414,
"s": 58.233,
"l": 51.176
},
"oklch": {
"l": 0.7579,
"c": 0.13535,
"h": 95.3
},
"luminance": 0.43662
}Semantic roles & 50–950 ramp
primary
#CBAF3A
secondary
#909DD0
accent
#64E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B