#CCB046#CCB046
#CCB046 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.128 H 94.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB046 |
|---|---|
| RGB | rgb(204, 176, 70) |
| HSL | hsl(47, 57%, 54%) |
| HSV | hsv(47, 66%, 80%) |
| CMYK | cmyk(0%, 13.7%, 65.7%, 20%) |
| CIE-LAB | lab(72.45, -1.82, 56.18) |
| CIE-LCH | lch(72.45, 56.21, 91.86°) |
| OKLab | oklab(76.19% -0.0095 0.1273) |
| OKLCH | oklch(76.19% 0.128 94.3) |
| XYZ | xyz(41.5346, 44.3324, 12.1624) |
| Luminance | 0.4433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.23
Desert
#CCAD60
ΔE00 4.63
Brownish Yellow
#C9B003
ΔE00 4.79
Mustard (survey)
#CEB301
ΔE00 4.98
Dark Yellow
#D5B60A
ΔE00 5.14
Burnt Yellow
#D5AB09
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB046 #4662CC
analogous
#CC6D46 #CCB046 #A5CC46
triadic
#CCB046 #46CCB0 #B046CC
tetradic
#CCB046 #46CC6D #4662CC #CC46A5
square
#CCB046 #46CC6D #4662CC #CC46A5
split-complementary
#CCB046 #46A5CC #6D46CC
monochromatic
#776521 #A78E2E #CCB046 #D9C476 #E6D9A6
Accessibility & contrast
On white
2.13
#CCB046 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#CCB046 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB046
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB046 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB046 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD39
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb046; /* rgb */ color: rgb(204, 176, 70); /* oklch */ color: oklch(76.2% 0.128 94.3);
Tailwind
colors: {
custom: {
50: '#dfc77e',
500: '#ccb046',
950: '#000000',
},
}SCSS
$custom: #ccb046; $custom-light: #dfc77e; $custom-dark: #000000;
JSON
{
"hex": "#ccb046",
"rgb": {
"r": 204,
"g": 176,
"b": 70
},
"hsl": {
"h": 47.463,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.76194,
"c": 0.1277,
"h": 94.3
},
"luminance": 0.4433
}Semantic roles & 50–950 ramp
primary
#CCB046
secondary
#9AA6D4
accent
#68E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C