#CCB13A#CCB13A
#CCB13A is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.3% C 0.137 H 96.0°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB13A |
|---|---|
| RGB | rgb(204, 177, 58) |
| HSL | hsl(49, 59%, 51%) |
| HSV | hsv(49, 72%, 80%) |
| CMYK | cmyk(0%, 13.2%, 71.6%, 20%) |
| CIE-LAB | lab(72.62, -3.00, 61.29) |
| CIE-LCH | lch(72.62, 61.36, 92.80°) |
| OKLab | oklab(76.3% -0.0143 0.1361) |
| OKLCH | oklch(76.3% 0.137 96) |
| XYZ | xyz(41.3898, 44.5893, 10.4287) |
| Luminance | 0.4459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.29
Mustard (survey)
#CEB301
ΔE00 3.47
Mustard
#DBB42C
ΔE00 3.70
Dark Yellow
#D5B60A
ΔE00 3.79
Muddy Yellow
#BFAC05
ΔE00 4.08
Gold (survey)
#DBB40C
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB13A #3A55CC
analogous
#CC683A #CCB13A #9ECC3A
triadic
#CCB13A #3ACCB1 #B13ACC
tetradic
#CCB13A #3ACC68 #3A55CC #CC3A9E
square
#CCB13A #3ACC68 #3A55CC #CC3A9E
split-complementary
#CCB13A #3A9ECC #683ACC
monochromatic
#6F601D #A08A29 #CCB13A #D9C46B #E5D79B
Accessibility & contrast
On white
2.12
#CCB13A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.92
#CCB13A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB13A
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB13A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB13A | 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)
#C3AD28
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#DCA399
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #ccb13a; /* rgb */ color: rgb(204, 177, 58); /* oklch */ color: oklch(76.3% 0.137 96.0);
Tailwind
colors: {
custom: {
50: '#dfc778',
500: '#ccb13a',
950: '#000000',
},
}SCSS
$custom: #ccb13a; $custom-light: #dfc778; $custom-dark: #000000;
JSON
{
"hex": "#ccb13a",
"rgb": {
"r": 204,
"g": 177,
"b": 58
},
"hsl": {
"h": 48.904,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.763,
"c": 0.13684,
"h": 96
},
"luminance": 0.44587
}Semantic roles & 50–950 ramp
primary
#CCB13A
secondary
#919DD1
accent
#63E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B