#CFBE5F#CFBE5F
#CFBE5F is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.6% C 0.118 H 99.3°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBE5F |
|---|---|
| RGB | rgb(207, 190, 95) |
| HSL | hsl(51, 54%, 59%) |
| HSV | hsv(51, 54%, 81%) |
| CMYK | cmyk(0%, 8.2%, 54.1%, 18.8%) |
| CIE-LAB | lab(76.63, -6.10, 49.50) |
| CIE-LCH | lch(76.63, 49.87, 97.03°) |
| OKLab | oklab(79.65% -0.0191 0.1162) |
| OKLCH | oklch(79.65% 0.118 99.3) |
| XYZ | xyz(46.2127, 50.9203, 18.2186) |
| Luminance | 0.5092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.44
Darkkhaki
#BDB76B
ΔE00 4.94
Desert
#CCAD60
ΔE00 6.57
Mustard Yellow
#D2BD0A
ΔE00 7.07
Olive Yellow
#C2B709
ΔE00 7.15
Sandy
#F1DA7A
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBE5F #5F70CF
analogous
#CF865F #CFBE5F #A8CF5F
triadic
#CFBE5F #5FCFBE #BE5FCF
tetradic
#CFBE5F #5FCF86 #5F70CF #CF5FA8
square
#CFBE5F #5FCF86 #5F70CF #CF5FA8
split-complementary
#CFBE5F #5FA8CF #865FCF
monochromatic
#8A7B29 #B9A638 #CFBE5F #DDD18E #EBE4BD
Accessibility & contrast
On white
1.88
#CFBE5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.18
#CFBE5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBE5F
11.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBE5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBE5F | 1.00 | 1.88 | 11.18 | 11.18 |
| #FFFFFF | 1.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#D2C063
Tritanopia (blue-blind)
#DDB2A8
Achromatopsia (no color)
#BDBDBD
Design tokens & code
CSS
--color: #cfbe5f; /* rgb */ color: rgb(207, 190, 95); /* oklch */ color: oklch(79.6% 0.118 99.3);
Tailwind
colors: {
custom: {
50: '#e0d18f',
500: '#cfbe5f',
950: '#000000',
},
}SCSS
$custom: #cfbe5f; $custom-light: #e0d18f; $custom-dark: #000000;
JSON
{
"hex": "#cfbe5f",
"rgb": {
"r": 207,
"g": 190,
"b": 95
},
"hsl": {
"h": 50.893,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.79646,
"c": 0.11774,
"h": 99.3
},
"luminance": 0.50919
}Semantic roles & 50–950 ramp
primary
#CFBE5F
secondary
#414E91
accent
#61DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F