#CFB042#CFB042
#CFB042 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.131 H 93.1°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CFB042 |
|---|---|
| RGB | rgb(207, 176, 66) |
| HSL | hsl(47, 59%, 54%) |
| HSV | hsv(47, 68%, 81%) |
| CMYK | cmyk(0%, 15%, 68.1%, 18.8%) |
| CIE-LAB | lab(72.70, -0.76, 58.24) |
| CIE-LCH | lch(72.70, 58.24, 90.75°) |
| OKLab | oklab(76.45% -0.0072 0.1309) |
| OKLCH | oklch(76.45% 0.131 93.1) |
| XYZ | xyz(42.2430, 44.7118, 11.5584) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.38
Burnt Yellow
#D5AB09
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 4.63
Gold (survey)
#DBB40C
ΔE00 4.65
Dark Yellow
#D5B60A
ΔE00 4.67
Mustard (survey)
#CEB301
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CFB042 #4261CF
analogous
#CF6942 #CFB042 #A7CF42
triadic
#CFB042 #42CFB0 #B042CF
tetradic
#CFB042 #42CF69 #4261CF #CF42A7
square
#CFB042 #42CF69 #4261CF #CF42A7
split-complementary
#CFB042 #42A7CF #6942CF
monochromatic
#78641F #A98D2B #CFB042 #DBC473 #E8D9A4
Accessibility & contrast
On white
2.11
#CFB042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#CFB042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CFB042
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CFB042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CFB042 | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD34
Deuteranopia (green-blind)
#CAB648
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cfb042; /* rgb */ color: rgb(207, 176, 66); /* oklch */ color: oklch(76.4% 0.131 93.1);
Tailwind
colors: {
custom: {
50: '#e1c77c',
500: '#cfb042',
950: '#000000',
},
}SCSS
$custom: #cfb042; $custom-light: #e1c77c; $custom-dark: #000000;
JSON
{
"hex": "#cfb042",
"rgb": {
"r": 207,
"g": 176,
"b": 66
},
"hsl": {
"h": 46.809,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.76449,
"c": 0.13114,
"h": 93.1
},
"luminance": 0.44709
}Semantic roles & 50–950 ramp
primary
#CFB042
secondary
#98A5D5
accent
#68E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C