#CFBC4F#CFBC4F
#CFBC4F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.130 H 99.4°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBC4F |
|---|---|
| RGB | rgb(207, 188, 79) |
| HSL | hsl(51, 57%, 56%) |
| HSV | hsv(51, 62%, 81%) |
| CMYK | cmyk(0%, 9.2%, 61.8%, 18.8%) |
| CIE-LAB | lab(75.95, -6.25, 56.09) |
| CIE-LCH | lch(75.95, 56.43, 96.36°) |
| OKLab | oklab(79.05% -0.0214 0.1284) |
| OKLCH | oklch(79.05% 0.13 99.4) |
| XYZ | xyz(45.1285, 49.7983, 14.6305) |
| Luminance | 0.4980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 5.13
Olive Yellow
#C2B709
ΔE00 5.41
Mustard (survey)
#CEB301
ΔE00 5.54
Brownish Yellow
#C9B003
ΔE00 5.60
Sand (survey)
#E2CA76
ΔE00 5.67
Dark Yellow
#D5B60A
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBC4F #4F62CF
analogous
#CF7C4F #CFBC4F #A2CF4F
triadic
#CFBC4F #4FCFBC #BC4FCF
tetradic
#CFBC4F #4FCF7C #4F62CF #CF4FA2
square
#CFBC4F #4FCF7C #4F62CF #CF4FA2
split-complementary
#CFBC4F #4FA2CF #7C4FCF
monochromatic
#817323 #B19E30 #CFBC4F #DCCE7F #E9E1AF
Accessibility & contrast
On white
1.92
#CFBC4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.96
#CFBC4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBC4F
10.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBC4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBC4F | 1.00 | 1.92 | 10.96 | 10.96 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#DEAFA5
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cfbc4f; /* rgb */ color: rgb(207, 188, 79); /* oklch */ color: oklch(79.1% 0.130 99.4);
Tailwind
colors: {
custom: {
50: '#e1cf85',
500: '#cfbc4f',
950: '#000000',
},
}SCSS
$custom: #cfbc4f; $custom-light: #e1cf85; $custom-dark: #000000;
JSON
{
"hex": "#cfbc4f",
"rgb": {
"r": 207,
"g": 188,
"b": 79
},
"hsl": {
"h": 51.094,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.79051,
"c": 0.13015,
"h": 99.4
},
"luminance": 0.49796
}Semantic roles & 50–950 ramp
primary
#CFBC4F
secondary
#A2AAD7
accent
#5EE047
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C