#CFB752#CFB752
#CFB752 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.0% C 0.124 H 96.0°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB752 |
|---|---|
| RGB | rgb(207, 183, 82) |
| HSL | hsl(48, 57%, 57%) |
| HSV | hsv(48, 60%, 81%) |
| CMYK | cmyk(0%, 11.6%, 60.4%, 18.8%) |
| CIE-LAB | lab(74.66, -3.44, 53.32) |
| CIE-LCH | lch(74.66, 53.43, 93.69°) |
| OKLab | oklab(78.04% -0.0129 0.1229) |
| OKLCH | oklch(78.04% 0.124 96) |
| XYZ | xyz(44.1905, 47.7436, 14.8688) |
| Luminance | 0.4774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 5.07
Mustard
#DBB42C
ΔE00 5.21
Sand (survey)
#E2CA76
ΔE00 5.64
Brownish Yellow
#C9B003
ΔE00 5.71
Mustard (survey)
#CEB301
ΔE00 5.72
Dark Yellow
#D5B60A
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB752 #526ACF
analogous
#CF7952 #CFB752 #A9CF52
triadic
#CFB752 #52CFB7 #B752CF
tetradic
#CFB752 #52CF79 #526ACF #CF52A9
square
#CFB752 #52CF79 #526ACF #CF52A9
split-complementary
#CFB752 #52A9CF #7952CF
monochromatic
#827024 #B29A31 #CFB752 #DCCB82 #EADFB2
Accessibility & contrast
On white
1.99
#CFB752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.55
#CFB752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB752
10.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB752 | 1.00 | 1.99 | 10.55 | 10.55 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B347
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DEAAA1
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cfb752; /* rgb */ color: rgb(207, 183, 82); /* oklch */ color: oklch(78.0% 0.124 96.0);
Tailwind
colors: {
custom: {
50: '#e1cc86',
500: '#cfb752',
950: '#000000',
},
}SCSS
$custom: #cfb752; $custom-light: #e1cc86; $custom-dark: #000000;
JSON
{
"hex": "#cfb752",
"rgb": {
"r": 207,
"g": 183,
"b": 82
},
"hsl": {
"h": 48.48,
"s": 56.561,
"l": 56.667
},
"oklch": {
"l": 0.78044,
"c": 0.12358,
"h": 96
},
"luminance": 0.47742
}Semantic roles & 50–950 ramp
primary
#CFB752
secondary
#A5AFD8
accent
#65E048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C