#CFBA5F#CFBA5F
#CFBA5F is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.8% C 0.114 H 96.6°. Best body text is #000000 at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBA5F |
|---|---|
| RGB | rgb(207, 186, 95) |
| HSL | hsl(49, 54%, 59%) |
| HSV | hsv(49, 54%, 81%) |
| CMYK | cmyk(0%, 10.1%, 54.1%, 18.8%) |
| CIE-LAB | lab(75.58, -4.02, 48.27) |
| CIE-LCH | lch(75.58, 48.44, 94.76°) |
| OKLab | oklab(78.82% -0.0131 0.1135) |
| OKLCH | oklch(78.82% 0.114 96.6) |
| XYZ | xyz(45.3582, 49.2113, 17.9338) |
| Luminance | 0.4921 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.52
Desert
#CCAD60
ΔE00 5.02
Darkkhaki
#BDB76B
ΔE00 5.21
Tan (survey)
#D1B26F
ΔE00 5.81
Mustard
#DBB42C
ΔE00 6.79
Sandy Brown
#C4A661
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBA5F #5F74CF
analogous
#CF825F #CFBA5F #ACCF5F
triadic
#CFBA5F #5FCFBA #BA5FCF
tetradic
#CFBA5F #5FCF82 #5F74CF #CF5FAC
square
#CFBA5F #5FCF82 #5F74CF #CF5FAC
split-complementary
#CFBA5F #5FACCF #825FCF
monochromatic
#8A7829 #B9A138 #CFBA5F #DDCE8E #EBE3BD
Accessibility & contrast
On white
1.94
#CFBA5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.84
#CFBA5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBA5F
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBA5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBA5F | 1.00 | 1.94 | 10.84 | 10.84 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB657
Deuteranopia (green-blind)
#CFBD63
Tritanopia (blue-blind)
#DDAEA5
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #cfba5f; /* rgb */ color: rgb(207, 186, 95); /* oklch */ color: oklch(78.8% 0.114 96.6);
Tailwind
colors: {
custom: {
50: '#e0ce8f',
500: '#cfba5f',
950: '#000000',
},
}SCSS
$custom: #cfba5f; $custom-light: #e0ce8f; $custom-dark: #000000;
JSON
{
"hex": "#cfba5f",
"rgb": {
"r": 207,
"g": 186,
"b": 95
},
"hsl": {
"h": 48.75,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.78816,
"c": 0.11426,
"h": 96.6
},
"luminance": 0.49209
}Semantic roles & 50–950 ramp
primary
#CFBA5F
secondary
#AFB7DB
accent
#66DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D