#CCB045#CCB045
#CCB045 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.128 H 94.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB045 |
|---|---|
| RGB | rgb(204, 176, 69) |
| HSL | hsl(48, 57%, 54%) |
| HSV | hsv(48, 66%, 80%) |
| CMYK | cmyk(0%, 13.7%, 66.2%, 20%) |
| CIE-LAB | lab(72.44, -1.88, 56.60) |
| CIE-LCH | lch(72.44, 56.63, 91.91°) |
| OKLab | oklab(76.19% -0.0098 0.1281) |
| OKLCH | oklch(76.19% 0.128 94.4) |
| XYZ | xyz(41.5033, 44.3199, 11.9976) |
| Luminance | 0.4432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.16
Brownish Yellow
#C9B003
ΔE00 4.67
Desert
#CCAD60
ΔE00 4.75
Mustard (survey)
#CEB301
ΔE00 4.86
Dark Yellow
#D5B60A
ΔE00 5.03
Burnt Yellow
#D5AB09
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB045 #4561CC
analogous
#CC6C45 #CCB045 #A4CC45
triadic
#CCB045 #45CCB0 #B045CC
tetradic
#CCB045 #45CC6C #4561CC #CC45A4
square
#CCB045 #45CC6C #4561CC #CC45A4
split-complementary
#CCB045 #45A4CC #6C45CC
monochromatic
#766420 #A68D2E #CCB045 #D9C475 #E6D9A5
Accessibility & contrast
On white
2.13
#CCB045 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#CCB045 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB045
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB045 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB045 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#C9B54A
Tritanopia (blue-blind)
#DCA39A
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb045; /* rgb */ color: rgb(204, 176, 69); /* oklch */ color: oklch(76.2% 0.128 94.4);
Tailwind
colors: {
custom: {
50: '#dfc77e',
500: '#ccb045',
950: '#000000',
},
}SCSS
$custom: #ccb045; $custom-light: #dfc77e; $custom-dark: #000000;
JSON
{
"hex": "#ccb045",
"rgb": {
"r": 204,
"g": 176,
"b": 69
},
"hsl": {
"h": 47.556,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.76185,
"c": 0.12846,
"h": 94.4
},
"luminance": 0.44318
}Semantic roles & 50–950 ramp
primary
#CCB045
secondary
#99A5D3
accent
#67E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C