#CCB452#CCB452
#CCB452 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 77.1% C 0.121 H 95.7°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB452 |
|---|---|
| RGB | rgb(204, 180, 82) |
| HSL | hsl(48, 54%, 56%) |
| HSV | hsv(48, 60%, 80%) |
| CMYK | cmyk(0%, 11.8%, 59.8%, 20%) |
| CIE-LAB | lab(73.60, -3.14, 52.06) |
| CIE-LCH | lch(73.60, 52.16, 93.45°) |
| OKLab | oklab(77.14% -0.0119 0.1203) |
| OKLCH | oklch(77.14% 0.121 95.7) |
| XYZ | xyz(42.7479, 46.0911, 14.6258) |
| Luminance | 0.4609 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.45
Mustard
#DBB42C
ΔE00 5.47
Brownish Yellow
#C9B003
ΔE00 5.84
Mustard (survey)
#CEB301
ΔE00 5.99
Tan (survey)
#D1B26F
ΔE00 6.01
Dark Yellow
#D5B60A
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB452 #526ACC
analogous
#CC7752 #CCB452 #A7CC52
triadic
#CCB452 #52CCB4 #B452CC
tetradic
#CCB452 #52CC77 #526ACC #CC52A7
square
#CCB452 #52CC77 #526ACC #CC52A7
split-complementary
#CCB452 #52A7CC #7752CC
monochromatic
#7E6D25 #AE9633 #CCB452 #DAC881 #E8DDB1
Accessibility & contrast
On white
2.06
#CCB452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.22
#CCB452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB452
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB452 | 1.00 | 2.06 | 10.22 | 10.22 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B048
Deuteranopia (green-blind)
#CBB857
Tritanopia (blue-blind)
#DBA89E
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb452; /* rgb */ color: rgb(204, 180, 82); /* oklch */ color: oklch(77.1% 0.121 95.7);
Tailwind
colors: {
custom: {
50: '#deca86',
500: '#ccb452',
950: '#000000',
},
}SCSS
$custom: #ccb452; $custom-light: #deca86; $custom-dark: #000000;
JSON
{
"hex": "#ccb452",
"rgb": {
"r": 204,
"g": 180,
"b": 82
},
"hsl": {
"h": 48.197,
"s": 54.464,
"l": 56.078
},
"oklch": {
"l": 0.77142,
"c": 0.12087,
"h": 95.7
},
"luminance": 0.46089
}Semantic roles & 50–950 ramp
primary
#CCB452
secondary
#A4AED6
accent
#67DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C