#CFBC3C#CFBC3C
#CFBC3C is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.9% C 0.144 H 100.6°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CFBC3C |
|---|---|
| RGB | rgb(207, 188, 60) |
| HSL | hsl(52, 60%, 52%) |
| HSV | hsv(52, 71%, 81%) |
| CMYK | cmyk(0%, 9.2%, 71%, 18.8%) |
| CIE-LAB | lab(75.80, -7.34, 63.75) |
| CIE-LCH | lch(75.80, 64.17, 96.57°) |
| OKLab | oklab(78.89% -0.0266 0.1416) |
| OKLCH | oklch(78.89% 0.144 100.6) |
| XYZ | xyz(44.5330, 49.5601, 11.4944) |
| Luminance | 0.4956 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 3.10
Olive Yellow
#C2B709
ΔE00 3.70
Ugly Yellow
#D0C101
ΔE00 3.72
Mustard (survey)
#CEB301
ΔE00 3.98
Brownish Yellow
#C9B003
ΔE00 4.16
Dark Yellow
#D5B60A
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFBC3C #3C4FCF
analogous
#CF733C #CFBC3C #98CF3C
triadic
#CFBC3C #3CCFBC #BC3CCF
tetradic
#CFBC3C #3CCF73 #3C4FCF #CF3C98
square
#CFBC3C #3CCF73 #3C4FCF #CF3C98
split-complementary
#CFBC3C #3C98CF #733CCF
monochromatic
#74691D #A59529 #CFBC3C #DBCD6D #E7DE9E
Accessibility & contrast
On white
1.92
#CFBC3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.91
#CFBC3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFBC3C
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFBC3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFBC3C | 1.00 | 1.92 | 10.91 | 10.91 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB728
Deuteranopia (green-blind)
#D3BE44
Tritanopia (blue-blind)
#DFAEA3
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #cfbc3c; /* rgb */ color: rgb(207, 188, 60); /* oklch */ color: oklch(78.9% 0.144 100.6);
Tailwind
colors: {
custom: {
50: '#e1cf7a',
500: '#cfbc3c',
950: '#000000',
},
}SCSS
$custom: #cfbc3c; $custom-light: #e1cf7a; $custom-dark: #000000;
JSON
{
"hex": "#cfbc3c",
"rgb": {
"r": 207,
"g": 188,
"b": 60
},
"hsl": {
"h": 52.245,
"s": 60.494,
"l": 52.353
},
"oklch": {
"l": 0.78887,
"c": 0.14403,
"h": 100.6
},
"luminance": 0.49558
}Semantic roles & 50–950 ramp
primary
#CFBC3C
secondary
#939CD3
accent
#59E444
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C