#CCB147#CCB147
#CCB147 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.128 H 94.8°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB147 |
|---|---|
| RGB | rgb(204, 177, 71) |
| HSL | hsl(48, 57%, 54%) |
| HSV | hsv(48, 65%, 80%) |
| CMYK | cmyk(0%, 13.2%, 65.2%, 20%) |
| CIE-LAB | lab(72.72, -2.29, 56.03) |
| CIE-LCH | lch(72.72, 56.08, 92.34°) |
| OKLab | oklab(76.41% -0.0108 0.1272) |
| OKLCH | oklch(76.41% 0.128 94.8) |
| XYZ | xyz(41.7633, 44.7387, 12.3957) |
| Luminance | 0.4474 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.35
Brownish Yellow
#C9B003
ΔE00 4.75
Desert
#CCAD60
ΔE00 4.78
Mustard (survey)
#CEB301
ΔE00 4.93
Dark Yellow
#D5B60A
ΔE00 5.11
Muddy Yellow
#BFAC05
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB147 #4762CC
analogous
#CC6F47 #CCB147 #A4CC47
triadic
#CCB147 #47CCB1 #B147CC
tetradic
#CCB147 #47CC6F #4762CC #CC47A4
square
#CCB147 #47CC6F #4762CC #CC47A4
split-complementary
#CCB147 #47A4CC #6F47CC
monochromatic
#776621 #A78F2E #CCB147 #D9C577 #E7DAA7
Accessibility & contrast
On white
2.11
#CCB147 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#CCB147 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB147
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB147 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB147 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE3A
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#DCA49B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb147; /* rgb */ color: rgb(204, 177, 71); /* oklch */ color: oklch(76.4% 0.128 94.8);
Tailwind
colors: {
custom: {
50: '#dfc87f',
500: '#ccb147',
950: '#000000',
},
}SCSS
$custom: #ccb147; $custom-light: #dfc87f; $custom-dark: #000000;
JSON
{
"hex": "#ccb147",
"rgb": {
"r": 204,
"g": 177,
"b": 71
},
"hsl": {
"h": 47.82,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.7641,
"c": 0.12764,
"h": 94.8
},
"luminance": 0.44737
}Semantic roles & 50–950 ramp
primary
#CCB147
secondary
#9BA7D4
accent
#67E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C