#CBAF56#CBAF56
#CBAF56 is a light, moderate yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.113 H 92.1°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CBAF56 |
|---|---|
| RGB | rgb(203, 175, 86) |
| HSL | hsl(46, 53%, 57%) |
| HSV | hsv(46, 58%, 80%) |
| CMYK | cmyk(0%, 13.8%, 57.6%, 20.4%) |
| CIE-LAB | lab(72.25, -0.64, 48.61) |
| CIE-LCH | lch(72.25, 48.62, 90.75°) |
| OKLab | oklab(76.06% -0.0041 0.1134) |
| OKLCH | oklch(76.06% 0.113 92.1) |
| XYZ | xyz(41.6401, 44.0304, 15.1077) |
| Luminance | 0.4403 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.39
Sandy Brown
#C4A661
ΔE00 4.28
Tan (survey)
#D1B26F
ΔE00 4.39
Sand Brown
#CBA560
ΔE00 5.66
Sandstone
#C9AE74
ΔE00 5.71
Mustard
#DBB42C
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBAF56 #5672CB
analogous
#CB7556 #CBAF56 #ADCB56
triadic
#CBAF56 #56CBAF #AF56CB
tetradic
#CBAF56 #56CB75 #5672CB #CB56AD
square
#CBAF56 #56CB75 #5672CB #CB56AD
split-complementary
#CBAF56 #56ADCB #7556CB
monochromatic
#7F6A27 #AE9136 #CBAF56 #D9C585 #E8DBB4
Accessibility & contrast
On white
2.14
#CBAF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#CBAF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBAF56
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBAF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBAF56 | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAC4D
Deuteranopia (green-blind)
#C6B55A
Tritanopia (blue-blind)
#DAA39B
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #cbaf56; /* rgb */ color: rgb(203, 175, 86); /* oklch */ color: oklch(76.1% 0.113 92.1);
Tailwind
colors: {
custom: {
50: '#dec688',
500: '#cbaf56',
950: '#000000',
},
}SCSS
$custom: #cbaf56; $custom-light: #dec688; $custom-dark: #000000;
JSON
{
"hex": "#cbaf56",
"rgb": {
"r": 203,
"g": 175,
"b": 86
},
"hsl": {
"h": 45.641,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.76062,
"c": 0.11344,
"h": 92.1
},
"luminance": 0.44028
}Semantic roles & 50–950 ramp
primary
#CBAF56
secondary
#A6B2D6
accent
#6EDC4B
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D