#CFB346#CFB346
#CFB346 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.1% C 0.130 H 94.7°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB346 |
|---|---|
| RGB | rgb(207, 179, 70) |
| HSL | hsl(48, 59%, 54%) |
| HSV | hsv(48, 66%, 81%) |
| CMYK | cmyk(0%, 13.5%, 66.2%, 18.8%) |
| CIE-LAB | lab(73.51, -2.12, 57.39) |
| CIE-LCH | lch(73.51, 57.43, 92.11°) |
| OKLab | oklab(77.1% -0.0106 0.1298) |
| OKLCH | oklch(77.1% 0.13 94.7) |
| XYZ | xyz(42.9598, 45.9500, 12.3996) |
| Luminance | 0.4595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.81
Brownish Yellow
#C9B003
ΔE00 4.57
Mustard (survey)
#CEB301
ΔE00 4.59
Dark Yellow
#D5B60A
ΔE00 4.61
Gold (survey)
#DBB40C
ΔE00 4.98
Desert
#CCAD60
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB346 #4662CF
analogous
#CF6F46 #CFB346 #A7CF46
triadic
#CFB346 #46CFB3 #B346CF
tetradic
#CFB346 #46CF6F #4662CF #CF46A7
square
#CFB346 #46CF6F #4662CF #CF46A7
split-complementary
#CFB346 #46A7CF #6F46CF
monochromatic
#7B6820 #AB912C #CFB346 #DCC777 #E8DBA7
Accessibility & contrast
On white
2.06
#CFB346 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#CFB346 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB346
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB346 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB346 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B039
Deuteranopia (green-blind)
#CCB84C
Tritanopia (blue-blind)
#DFA69C
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cfb346; /* rgb */ color: rgb(207, 179, 70); /* oklch */ color: oklch(77.1% 0.130 94.7);
Tailwind
colors: {
custom: {
50: '#e1c97f',
500: '#cfb346',
950: '#000000',
},
}SCSS
$custom: #cfb346; $custom-light: #e1c97f; $custom-dark: #000000;
JSON
{
"hex": "#cfb346",
"rgb": {
"r": 207,
"g": 179,
"b": 70
},
"hsl": {
"h": 47.737,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.771,
"c": 0.13024,
"h": 94.7
},
"luminance": 0.45948
}Semantic roles & 50–950 ramp
primary
#CFB346
secondary
#9BA7D5
accent
#66E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C