#CFB45B#CFB45B
#CFB45B is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.113 H 92.7°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB45B |
|---|---|
| RGB | rgb(207, 180, 91) |
| HSL | hsl(46, 55%, 58%) |
| HSV | hsv(46, 56%, 81%) |
| CMYK | cmyk(0%, 13%, 56%, 18.8%) |
| CIE-LAB | lab(73.98, -1.20, 48.31) |
| CIE-LCH | lch(73.98, 48.33, 91.42°) |
| OKLab | oklab(77.53% -0.0054 0.1132) |
| OKLCH | oklch(77.53% 0.113 92.7) |
| XYZ | xyz(43.9435, 46.6654, 16.5882) |
| Luminance | 0.4666 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.01
Tan (survey)
#D1B26F
ΔE00 4.36
Sandy Brown
#C4A661
ΔE00 5.17
Sand (survey)
#E2CA76
ΔE00 5.66
Mustard
#DBB42C
ΔE00 5.88
Sandstone
#C9AE74
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB45B #5B76CF
analogous
#CF7A5B #CFB45B #B0CF5B
triadic
#CFB45B #5BCFB4 #B45BCF
tetradic
#CFB45B #5BCF7A #5B76CF #CF5BB0
square
#CFB45B #5BCF7A #5B76CF #CF5BB0
split-complementary
#CFB45B #5BB0CF #7A5BCF
monochromatic
#887128 #B79936 #CFB45B #DDCA8A #EBDFBA
Accessibility & contrast
On white
2.03
#CFB45B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.33
#CFB45B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB45B
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB45B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB45B | 1.00 | 2.03 | 10.33 | 10.33 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B153
Deuteranopia (green-blind)
#CBB95F
Tritanopia (blue-blind)
#DEA8A0
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cfb45b; /* rgb */ color: rgb(207, 180, 91); /* oklch */ color: oklch(77.5% 0.113 92.7);
Tailwind
colors: {
custom: {
50: '#e0ca8c',
500: '#cfb45b',
950: '#000000',
},
}SCSS
$custom: #cfb45b; $custom-light: #e0ca8c; $custom-dark: #000000;
JSON
{
"hex": "#cfb45b",
"rgb": {
"r": 207,
"g": 180,
"b": 91
},
"hsl": {
"h": 46.034,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.7753,
"c": 0.11332,
"h": 92.7
},
"luminance": 0.46663
}Semantic roles & 50–950 ramp
primary
#CFB45B
secondary
#ACB7DA
accent
#6CDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D