#CBAF46#CBAF46
#CBAF46 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.127 H 94.2°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF46 |
|---|---|
| RGB | rgb(203, 175, 70) |
| HSL | hsl(47, 56%, 54%) |
| HSV | hsv(47, 66%, 80%) |
| CMYK | cmyk(0%, 13.8%, 65.5%, 20.4%) |
| CIE-LAB | lab(72.10, -1.73, 55.77) |
| CIE-LCH | lch(72.10, 55.80, 91.77°) |
| OKLab | oklab(75.89% -0.0092 0.1265) |
| OKLCH | oklch(75.89% 0.127 94.2) |
| XYZ | xyz(41.0660, 43.8008, 12.0845) |
| Luminance | 0.4380 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.41
Desert
#CCAD60
ΔE00 4.49
Brownish Yellow
#C9B003
ΔE00 4.90
Mustard (survey)
#CEB301
ΔE00 5.14
Burnt Yellow
#D5AB09
ΔE00 5.32
Dark Yellow
#D5B60A
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF46 #4662CB
analogous
#CB6C46 #CBAF46 #A5CB46
triadic
#CBAF46 #46CBAF #AF46CB
tetradic
#CBAF46 #46CB6C #4662CB #CB46A5
square
#CBAF46 #46CB6C #4662CB #CB46A5
split-complementary
#CBAF46 #46A5CB #6C46CB
monochromatic
#766421 #A58C2E #CBAF46 #D8C476 #E6D8A6
Accessibility & contrast
On white
2.15
#CBAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CBAF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF46
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF46 | 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)
#C0AC39
Deuteranopia (green-blind)
#C8B44B
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cbaf46; /* rgb */ color: rgb(203, 175, 70); /* oklch */ color: oklch(75.9% 0.127 94.2);
Tailwind
colors: {
custom: {
50: '#dec67e',
500: '#cbaf46',
950: '#000000',
},
}SCSS
$custom: #cbaf46; $custom-light: #dec67e; $custom-dark: #000000;
JSON
{
"hex": "#cbaf46",
"rgb": {
"r": 203,
"g": 175,
"b": 70
},
"hsl": {
"h": 47.368,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.75892,
"c": 0.12684,
"h": 94.2
},
"luminance": 0.43799
}Semantic roles & 50–950 ramp
primary
#CBAF46
secondary
#9AA6D3
accent
#68DF48
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C