#CCB150#CCB150
#CCB150 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.5% C 0.120 H 93.8°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB150 |
|---|---|
| RGB | rgb(204, 177, 80) |
| HSL | hsl(47, 55%, 56%) |
| HSV | hsv(47, 61%, 80%) |
| CMYK | cmyk(0%, 13.2%, 60.8%, 20%) |
| CIE-LAB | lab(72.80, -1.70, 52.09) |
| CIE-LCH | lch(72.80, 52.11, 91.87°) |
| OKLab | oklab(76.5% -0.008 0.1201) |
| OKLCH | oklch(76.5% 0.12 93.8) |
| XYZ | xyz(42.0738, 44.8629, 14.0311) |
| Luminance | 0.4486 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.68
Mustard
#DBB42C
ΔE00 5.11
Tan (survey)
#D1B26F
ΔE00 5.53
Sandy Brown
#C4A661
ΔE00 5.58
Brownish Yellow
#C9B003
ΔE00 5.93
Mustard (survey)
#CEB301
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB150 #506BCC
analogous
#CC7350 #CCB150 #A9CC50
triadic
#CCB150 #50CCB1 #B150CC
tetradic
#CCB150 #50CC73 #506BCC #CC50A9
square
#CCB150 #50CC73 #506BCC #CC50A9
split-complementary
#CCB150 #50A9CC #7350CC
monochromatic
#7D6A24 #AD9232 #CCB150 #DAC67F #E8DBAF
Accessibility & contrast
On white
2.11
#CCB150 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.97
#CCB150 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB150
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB150 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB150 | 1.00 | 2.11 | 9.97 | 9.97 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE46
Deuteranopia (green-blind)
#C9B654
Tritanopia (blue-blind)
#DBA49C
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #ccb150; /* rgb */ color: rgb(204, 177, 80); /* oklch */ color: oklch(76.5% 0.120 93.8);
Tailwind
colors: {
custom: {
50: '#dec885',
500: '#ccb150',
950: '#000000',
},
}SCSS
$custom: #ccb150; $custom-light: #dec885; $custom-dark: #000000;
JSON
{
"hex": "#ccb150",
"rgb": {
"r": 204,
"g": 177,
"b": 80
},
"hsl": {
"h": 46.935,
"s": 54.867,
"l": 55.686
},
"oklch": {
"l": 0.76501,
"c": 0.12034,
"h": 93.8
},
"luminance": 0.44861
}Semantic roles & 50–950 ramp
primary
#CCB150
secondary
#A2ADD6
accent
#6ADE4A
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C