#CFB246#CFB246
#CFB246 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.130 H 94.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB246 |
|---|---|
| RGB | rgb(207, 178, 70) |
| HSL | hsl(47, 59%, 54%) |
| HSV | hsv(47, 66%, 81%) |
| CMYK | cmyk(0%, 14%, 66.2%, 18.8%) |
| CIE-LAB | lab(73.25, -1.59, 57.12) |
| CIE-LCH | lch(73.25, 57.14, 91.59°) |
| OKLab | oklab(76.9% -0.0091 0.1292) |
| OKLCH | oklch(76.9% 0.13 94) |
| XYZ | xyz(42.7601, 45.5507, 12.3330) |
| Luminance | 0.4555 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.73
Brownish Yellow
#C9B003
ΔE00 4.71
Dark Yellow
#D5B60A
ΔE00 4.75
Mustard (survey)
#CEB301
ΔE00 4.75
Desert
#CCAD60
ΔE00 4.87
Gold (survey)
#DBB40C
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB246 #4663CF
analogous
#CF6E46 #CFB246 #A8CF46
triadic
#CFB246 #46CFB2 #B246CF
tetradic
#CFB246 #46CF6E #4663CF #CF46A8
square
#CFB246 #46CF6E #4663CF #CF46A8
split-complementary
#CFB246 #46A8CF #6E46CF
monochromatic
#7B6820 #AB902C #CFB246 #DCC677 #E8DAA7
Accessibility & contrast
On white
2.08
#CFB246 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.11
#CFB246 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB246
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB246 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB246 | 1.00 | 2.08 | 10.11 | 10.11 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#CBB84B
Tritanopia (blue-blind)
#DFA59B
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cfb246; /* rgb */ color: rgb(207, 178, 70); /* oklch */ color: oklch(76.9% 0.130 94.0);
Tailwind
colors: {
custom: {
50: '#e1c87f',
500: '#cfb246',
950: '#000000',
},
}SCSS
$custom: #cfb246; $custom-light: #e1c87f; $custom-dark: #000000;
JSON
{
"hex": "#cfb246",
"rgb": {
"r": 207,
"g": 178,
"b": 70
},
"hsl": {
"h": 47.299,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.76895,
"c": 0.12955,
"h": 94
},
"luminance": 0.45548
}Semantic roles & 50–950 ramp
primary
#CFB246
secondary
#9BA8D5
accent
#67E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C