#CCB442#CCB442
#CCB442 is a light, vivid yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.134 H 97.2°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB442 |
|---|---|
| RGB | rgb(204, 180, 66) |
| HSL | hsl(50, 58%, 53%) |
| HSV | hsv(50, 68%, 80%) |
| CMYK | cmyk(0%, 11.8%, 67.6%, 20%) |
| CIE-LAB | lab(73.46, -4.16, 58.94) |
| CIE-LCH | lch(73.46, 59.08, 94.03°) |
| OKLab | oklab(76.99% -0.0167 0.1325) |
| OKLCH | oklch(76.99% 0.134 97.2) |
| XYZ | xyz(42.2084, 45.8753, 11.7848) |
| Luminance | 0.4587 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.91
Mustard (survey)
#CEB301
ΔE00 4.05
Dark Yellow
#D5B60A
ΔE00 4.35
Mustard
#DBB42C
ΔE00 4.47
Muddy Yellow
#BFAC05
ΔE00 4.48
Mustard Yellow
#D2BD0A
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB442 #425ACC
analogous
#CC6F42 #CCB442 #9FCC42
triadic
#CCB442 #42CCB4 #B442CC
tetradic
#CCB442 #42CC6F #425ACC #CC429F
square
#CCB442 #42CC6F #425ACC #CC429F
split-complementary
#CCB442 #429FCC #6F42CC
monochromatic
#74651F #A4902C #CCB442 #D9C772 #E6DAA2
Accessibility & contrast
On white
2.06
#CCB442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#CCB442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB442
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB442 | 1.00 | 2.06 | 10.17 | 10.17 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B033
Deuteranopia (green-blind)
#CCB848
Tritanopia (blue-blind)
#DCA79D
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb442; /* rgb */ color: rgb(204, 180, 66); /* oklch */ color: oklch(77.0% 0.134 97.2);
Tailwind
colors: {
custom: {
50: '#dfca7c',
500: '#ccb442',
950: '#000000',
},
}SCSS
$custom: #ccb442; $custom-light: #dfca7c; $custom-dark: #000000;
JSON
{
"hex": "#ccb442",
"rgb": {
"r": 204,
"g": 180,
"b": 66
},
"hsl": {
"h": 49.565,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.76986,
"c": 0.13358,
"h": 97.2
},
"luminance": 0.45873
}Semantic roles & 50–950 ramp
primary
#CCB442
secondary
#97A1D3
accent
#62E147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C