#CCB13B#CCB13B
#CCB13B is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.136 H 95.9°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB13B |
|---|---|
| RGB | rgb(204, 177, 59) |
| HSL | hsl(49, 59%, 52%) |
| HSV | hsv(49, 71%, 80%) |
| CMYK | cmyk(0%, 13.2%, 71.1%, 20%) |
| CIE-LAB | lab(72.63, -2.95, 60.91) |
| CIE-LCH | lch(72.63, 60.98, 92.77°) |
| OKLab | oklab(76.31% -0.014 0.1355) |
| OKLCH | oklch(76.31% 0.136 95.9) |
| XYZ | xyz(41.4155, 44.5996, 10.5640) |
| Luminance | 0.4460 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.40
Mustard (survey)
#CEB301
ΔE00 3.58
Mustard
#DBB42C
ΔE00 3.73
Dark Yellow
#D5B60A
ΔE00 3.88
Muddy Yellow
#BFAC05
ΔE00 4.15
Gold (survey)
#DBB40C
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB13B #3B56CC
analogous
#CC693B #CCB13B #9ECC3B
triadic
#CCB13B #3BCCB1 #B13BCC
tetradic
#CCB13B #3BCC69 #3B56CC #CC3B9E
square
#CCB13B #3BCC69 #3B56CC #CC3B9E
split-complementary
#CCB13B #3B9ECC #693BCC
monochromatic
#70601D #A08A2A #CCB13B #D9C46C #E5D89C
Accessibility & contrast
On white
2.12
#CCB13B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#CCB13B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB13B
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB13B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB13B | 1.00 | 2.12 | 9.92 | 9.92 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AD29
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb13b; /* rgb */ color: rgb(204, 177, 59); /* oklch */ color: oklch(76.3% 0.136 95.9);
Tailwind
colors: {
custom: {
50: '#dfc778',
500: '#ccb13b',
950: '#000000',
},
}SCSS
$custom: #ccb13b; $custom-light: #dfc778; $custom-dark: #000000;
JSON
{
"hex": "#ccb13b",
"rgb": {
"r": 204,
"g": 177,
"b": 59
},
"hsl": {
"h": 48.828,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.76308,
"c": 0.1362,
"h": 95.9
},
"luminance": 0.44597
}Semantic roles & 50–950 ramp
primary
#CCB13B
secondary
#929DD1
accent
#63E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B