#CBAF48#CBAF48
#CBAF48 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.125 H 93.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF48 |
|---|---|
| RGB | rgb(203, 175, 72) |
| HSL | hsl(47, 56%, 54%) |
| HSV | hsv(47, 65%, 80%) |
| CMYK | cmyk(0%, 13.8%, 64.5%, 20.4%) |
| CIE-LAB | lab(72.11, -1.60, 54.92) |
| CIE-LCH | lch(72.11, 54.94, 91.67°) |
| OKLab | oklab(75.91% -0.0086 0.125) |
| OKLCH | oklch(75.91% 0.125 93.9) |
| XYZ | xyz(41.1302, 43.8265, 12.4226) |
| Luminance | 0.4382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.25
Mustard
#DBB42C
ΔE00 4.56
Brownish Yellow
#C9B003
ΔE00 5.15
Mustard (survey)
#CEB301
ΔE00 5.38
Burnt Yellow
#D5AB09
ΔE00 5.49
Dark Yellow
#D5B60A
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF48 #4864CB
analogous
#CB6E48 #CBAF48 #A6CB48
triadic
#CBAF48 #48CBAF #AF48CB
tetradic
#CBAF48 #48CB6E #4864CB #CB48A6
square
#CBAF48 #48CB6E #4864CB #CB48A6
split-complementary
#CBAF48 #48A6CB #6E48CB
monochromatic
#776522 #A68D2F #CBAF48 #D9C478 #E6D9A7
Accessibility & contrast
On white
2.15
#CBAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CBAF48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF48
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF48 | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AC3C
Deuteranopia (green-blind)
#C7B44D
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cbaf48; /* rgb */ color: rgb(203, 175, 72); /* oklch */ color: oklch(75.9% 0.125 93.9);
Tailwind
colors: {
custom: {
50: '#dec67f',
500: '#cbaf48',
950: '#000000',
},
}SCSS
$custom: #cbaf48; $custom-light: #dec67f; $custom-dark: #000000;
JSON
{
"hex": "#cbaf48",
"rgb": {
"r": 203,
"g": 175,
"b": 72
},
"hsl": {
"h": 47.176,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.75911,
"c": 0.12529,
"h": 93.9
},
"luminance": 0.43824
}Semantic roles & 50–950 ramp
primary
#CBAF48
secondary
#9BA7D3
accent
#69DF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C