#CBAF45#CBAF45
#CBAF45 is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.9% C 0.128 H 94.3°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF45 |
|---|---|
| RGB | rgb(203, 175, 69) |
| HSL | hsl(47, 56%, 53%) |
| HSV | hsv(47, 66%, 80%) |
| CMYK | cmyk(0%, 13.8%, 66%, 20.4%) |
| CIE-LAB | lab(72.09, -1.79, 56.20) |
| CIE-LCH | lch(72.09, 56.23, 91.82°) |
| OKLab | oklab(75.88% -0.0095 0.1273) |
| OKLCH | oklch(75.88% 0.128 94.3) |
| XYZ | xyz(41.0347, 43.7883, 11.9196) |
| Luminance | 0.4379 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.33
Desert
#CCAD60
ΔE00 4.61
Brownish Yellow
#C9B003
ΔE00 4.78
Mustard (survey)
#CEB301
ΔE00 5.02
Dark Yellow
#D5B60A
ΔE00 5.23
Burnt Yellow
#D5AB09
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF45 #4561CB
analogous
#CB6C45 #CBAF45 #A4CB45
triadic
#CBAF45 #45CBAF #AF45CB
tetradic
#CBAF45 #45CB6C #4561CB #CB45A4
square
#CBAF45 #45CB6C #4561CB #CB45A4
split-complementary
#CBAF45 #45A4CB #6C45CB
monochromatic
#756321 #A58C2E #CBAF45 #D8C475 #E6D8A5
Accessibility & contrast
On white
2.15
#CBAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#CBAF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF45
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF45 | 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)
#C0AC38
Deuteranopia (green-blind)
#C8B44A
Tritanopia (blue-blind)
#DBA299
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cbaf45; /* rgb */ color: rgb(203, 175, 69); /* oklch */ color: oklch(75.9% 0.128 94.3);
Tailwind
colors: {
custom: {
50: '#dec67e',
500: '#cbaf45',
950: '#000000',
},
}SCSS
$custom: #cbaf45; $custom-light: #dec67e; $custom-dark: #000000;
JSON
{
"hex": "#cbaf45",
"rgb": {
"r": 203,
"g": 175,
"b": 69
},
"hsl": {
"h": 47.463,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.75882,
"c": 0.1276,
"h": 94.3
},
"luminance": 0.43786
}Semantic roles & 50–950 ramp
primary
#CBAF45
secondary
#99A5D3
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C