#CBAF47#CBAF47
#CBAF47 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.126 H 94.1°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF47 |
|---|---|
| RGB | rgb(203, 175, 71) |
| HSL | hsl(47, 56%, 54%) |
| HSV | hsv(47, 65%, 80%) |
| CMYK | cmyk(0%, 13.8%, 65%, 20.4%) |
| CIE-LAB | lab(72.10, -1.67, 55.35) |
| CIE-LCH | lch(72.10, 55.37, 91.72°) |
| OKLab | oklab(75.9% -0.0089 0.1258) |
| OKLCH | oklch(75.9% 0.126 94.1) |
| XYZ | xyz(41.0979, 43.8135, 12.2521) |
| Luminance | 0.4381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.37
Mustard
#DBB42C
ΔE00 4.48
Brownish Yellow
#C9B003
ΔE00 5.03
Mustard (survey)
#CEB301
ΔE00 5.26
Burnt Yellow
#D5AB09
ΔE00 5.40
Dark Yellow
#D5B60A
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF47 #4763CB
analogous
#CB6D47 #CBAF47 #A5CB47
triadic
#CBAF47 #47CBAF #AF47CB
tetradic
#CBAF47 #47CB6D #4763CB #CB47A5
square
#CBAF47 #47CB6D #4763CB #CB47A5
split-complementary
#CBAF47 #47A5CB #6D47CB
monochromatic
#766421 #A68D2F #CBAF47 #D8C477 #E6D8A6
Accessibility & contrast
On white
2.15
#CBAF47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CBAF47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF47
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF47 | 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)
#C0AC3B
Deuteranopia (green-blind)
#C7B44C
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cbaf47; /* rgb */ color: rgb(203, 175, 71); /* oklch */ color: oklch(75.9% 0.126 94.1);
Tailwind
colors: {
custom: {
50: '#dec67f',
500: '#cbaf47',
950: '#000000',
},
}SCSS
$custom: #cbaf47; $custom-light: #dec67f; $custom-dark: #000000;
JSON
{
"hex": "#cbaf47",
"rgb": {
"r": 203,
"g": 175,
"b": 71
},
"hsl": {
"h": 47.273,
"s": 55.932,
"l": 53.725
},
"oklch": {
"l": 0.75901,
"c": 0.12608,
"h": 94.1
},
"luminance": 0.43811
}Semantic roles & 50–950 ramp
primary
#CBAF47
secondary
#9BA7D3
accent
#69DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C