#CCB146#CCB146
#CCB146 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.128 H 94.9°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB146 |
|---|---|
| RGB | rgb(204, 177, 70) |
| HSL | hsl(48, 57%, 54%) |
| HSV | hsv(48, 66%, 80%) |
| CMYK | cmyk(0%, 13.2%, 65.7%, 20%) |
| CIE-LAB | lab(72.71, -2.35, 56.46) |
| CIE-LCH | lch(72.71, 56.51, 92.38°) |
| OKLab | oklab(76.4% -0.0111 0.1279) |
| OKLCH | oklch(76.4% 0.128 94.9) |
| XYZ | xyz(41.7314, 44.7260, 12.2280) |
| Luminance | 0.4472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.28
Brownish Yellow
#C9B003
ΔE00 4.63
Mustard (survey)
#CEB301
ΔE00 4.81
Desert
#CCAD60
ΔE00 4.89
Dark Yellow
#D5B60A
ΔE00 5.00
Muddy Yellow
#BFAC05
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB146 #4661CC
analogous
#CC6E46 #CCB146 #A4CC46
triadic
#CCB146 #46CCB1 #B146CC
tetradic
#CCB146 #46CC6E #4661CC #CC46A4
square
#CCB146 #46CC6E #4661CC #CC46A4
split-complementary
#CCB146 #46A4CC #6E46CC
monochromatic
#776521 #A78E2E #CCB146 #D9C576 #E6D9A6
Accessibility & contrast
On white
2.11
#CCB146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#CCB146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB146
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB146 | 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)
#C2AE39
Deuteranopia (green-blind)
#C9B64B
Tritanopia (blue-blind)
#DCA49A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb146; /* rgb */ color: rgb(204, 177, 70); /* oklch */ color: oklch(76.4% 0.128 94.9);
Tailwind
colors: {
custom: {
50: '#dfc87e',
500: '#ccb146',
950: '#000000',
},
}SCSS
$custom: #ccb146; $custom-light: #dfc87e; $custom-dark: #000000;
JSON
{
"hex": "#ccb146",
"rgb": {
"r": 204,
"g": 177,
"b": 70
},
"hsl": {
"h": 47.91,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.764,
"c": 0.12841,
"h": 94.9
},
"luminance": 0.44724
}Semantic roles & 50–950 ramp
primary
#CCB146
secondary
#9AA6D4
accent
#66E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C