#CCBA3F#CCBA3F
#CCBA3F is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.2% C 0.140 H 100.8°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBA3F |
|---|---|
| RGB | rgb(204, 186, 63) |
| HSL | hsl(52, 58%, 52%) |
| HSV | hsv(52, 69%, 80%) |
| CMYK | cmyk(0%, 8.8%, 69.1%, 20%) |
| CIE-LAB | lab(75.02, -7.44, 61.74) |
| CIE-LCH | lch(75.02, 62.18, 96.87°) |
| OKLab | oklab(78.22% -0.0264 0.1379) |
| OKLCH | oklch(78.22% 0.14 100.8) |
| XYZ | xyz(43.3599, 48.3160, 11.7436) |
| Luminance | 0.4831 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 3.72
Olive Yellow
#C2B709
ΔE00 3.73
Brownish Yellow
#C9B003
ΔE00 4.22
Mustard (survey)
#CEB301
ΔE00 4.22
Ugly Yellow
#D0C101
ΔE00 4.30
Muddy Yellow
#BFAC05
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBA3F #3F51CC
analogous
#CC733F #CCBA3F #98CC3F
triadic
#CCBA3F #3FCCBA #BA3FCC
tetradic
#CCBA3F #3FCC73 #3F51CC #CC3F98
square
#CCBA3F #3FCC73 #3F51CC #CC3F98
split-complementary
#CCBA3F #3F98CC #733FCC
monochromatic
#72681E #A3932B #CCBA3F #D9CB6F #E6DDA0
Accessibility & contrast
On white
1.97
#CCBA3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.66
#CCBA3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBA3F
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBA3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBA3F | 1.00 | 1.97 | 10.66 | 10.66 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB52D
Deuteranopia (green-blind)
#D0BC46
Tritanopia (blue-blind)
#DBADA1
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #ccba3f; /* rgb */ color: rgb(204, 186, 63); /* oklch */ color: oklch(78.2% 0.140 100.8);
Tailwind
colors: {
custom: {
50: '#dfce7b',
500: '#ccba3f',
950: '#000000',
},
}SCSS
$custom: #ccba3f; $custom-light: #dfce7b; $custom-dark: #000000;
JSON
{
"hex": "#ccba3f",
"rgb": {
"r": 204,
"g": 186,
"b": 63
},
"hsl": {
"h": 52.34,
"s": 58.025,
"l": 52.353
},
"oklch": {
"l": 0.78216,
"c": 0.14043,
"h": 100.8
},
"luminance": 0.48314
}Semantic roles & 50–950 ramp
primary
#CCBA3F
secondary
#959DD2
accent
#5AE147
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C