#CCB149#CCB149
#CCB149 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.4% C 0.126 H 94.6°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB149 |
|---|---|
| RGB | rgb(204, 177, 73) |
| HSL | hsl(48, 56%, 54%) |
| HSV | hsv(48, 64%, 80%) |
| CMYK | cmyk(0%, 13.2%, 64.2%, 20%) |
| CIE-LAB | lab(72.74, -2.17, 55.17) |
| CIE-LCH | lch(72.74, 55.22, 92.25°) |
| OKLab | oklab(76.43% -0.0102 0.1257) |
| OKLCH | oklch(76.43% 0.126 94.6) |
| XYZ | xyz(41.8285, 44.7648, 12.7393) |
| Luminance | 0.4476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.50
Desert
#CCAD60
ΔE00 4.54
Brownish Yellow
#C9B003
ΔE00 5.00
Mustard (survey)
#CEB301
ΔE00 5.18
Dark Yellow
#D5B60A
ΔE00 5.34
Muddy Yellow
#BFAC05
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB149 #4964CC
analogous
#CC7049 #CCB149 #A5CC49
triadic
#CCB149 #49CCB1 #B149CC
tetradic
#CCB149 #49CC70 #4964CC #CC49A5
square
#CCB149 #49CC70 #4964CC #CC49A5
split-complementary
#CCB149 #49A5CC #7049CC
monochromatic
#796722 #A9902F #CCB149 #D9C579 #E7DAA9
Accessibility & contrast
On white
2.11
#CCB149 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#CCB149 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB149
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB149 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB149 | 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)
#C2AE3D
Deuteranopia (green-blind)
#C9B64E
Tritanopia (blue-blind)
#DCA49B
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb149; /* rgb */ color: rgb(204, 177, 73); /* oklch */ color: oklch(76.4% 0.126 94.6);
Tailwind
colors: {
custom: {
50: '#dfc880',
500: '#ccb149',
950: '#000000',
},
}SCSS
$custom: #ccb149; $custom-light: #dfc880; $custom-dark: #000000;
JSON
{
"hex": "#ccb149",
"rgb": {
"r": 204,
"g": 177,
"b": 73
},
"hsl": {
"h": 47.634,
"s": 56.223,
"l": 54.314
},
"oklch": {
"l": 0.76429,
"c": 0.12608,
"h": 94.6
},
"luminance": 0.44763
}Semantic roles & 50–950 ramp
primary
#CCB149
secondary
#9DA8D4
accent
#67E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C