#CFB952#CFB952
#CFB952 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.125 H 97.3°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB952 |
|---|---|
| RGB | rgb(207, 185, 82) |
| HSL | hsl(49, 57%, 57%) |
| HSV | hsv(49, 60%, 81%) |
| CMYK | cmyk(0%, 10.6%, 60.4%, 18.8%) |
| CIE-LAB | lab(75.19, -4.49, 53.91) |
| CIE-LCH | lch(75.19, 54.09, 94.76°) |
| OKLab | oklab(78.46% -0.016 0.1242) |
| OKLCH | oklch(78.46% 0.125 97.3) |
| XYZ | xyz(44.6059, 48.5745, 15.0073) |
| Luminance | 0.4857 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.47
Mustard
#DBB42C
ΔE00 5.56
Mustard (survey)
#CEB301
ΔE00 5.69
Brownish Yellow
#C9B003
ΔE00 5.70
Dark Yellow
#D5B60A
ΔE00 5.75
Desert
#CCAD60
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB952 #5268CF
analogous
#CF7B52 #CFB952 #A7CF52
triadic
#CFB952 #52CFB9 #B952CF
tetradic
#CFB952 #52CF7B #5268CF #CF52A7
square
#CFB952 #52CF7B #5268CF #CF52A7
split-complementary
#CFB952 #52A7CF #7B52CF
monochromatic
#827224 #B29C31 #CFB952 #DCCC82 #EAE0B2
Accessibility & contrast
On white
1.96
#CFB952 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#CFB952 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB952
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB952 | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB547
Deuteranopia (green-blind)
#D0BC57
Tritanopia (blue-blind)
#DEACA3
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cfb952; /* rgb */ color: rgb(207, 185, 82); /* oklch */ color: oklch(78.5% 0.125 97.3);
Tailwind
colors: {
custom: {
50: '#e1cd86',
500: '#cfb952',
950: '#000000',
},
}SCSS
$custom: #cfb952; $custom-light: #e1cd86; $custom-dark: #000000;
JSON
{
"hex": "#cfb952",
"rgb": {
"r": 207,
"g": 185,
"b": 82
},
"hsl": {
"h": 49.44,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.78458,
"c": 0.12517,
"h": 97.3
},
"luminance": 0.48573
}Semantic roles & 50–950 ramp
primary
#CFB952
secondary
#A5AED8
accent
#63E048
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130B
muted
#84827C