#CCB346#CCB346
#CCB346 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.8% C 0.130 H 96.2°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB346 |
|---|---|
| RGB | rgb(204, 179, 70) |
| HSL | hsl(49, 57%, 54%) |
| HSV | hsv(49, 66%, 80%) |
| CMYK | cmyk(0%, 12.3%, 65.7%, 20%) |
| CIE-LAB | lab(73.23, -3.40, 57.01) |
| CIE-LCH | lch(73.23, 57.11, 93.41°) |
| OKLab | oklab(76.81% -0.0141 0.1291) |
| OKLCH | oklch(76.81% 0.13 96.2) |
| XYZ | xyz(42.1294, 45.5219, 12.3607) |
| Luminance | 0.4552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.41
Mustard
#DBB42C
ΔE00 4.50
Mustard (survey)
#CEB301
ΔE00 4.57
Dark Yellow
#D5B60A
ΔE00 4.80
Muddy Yellow
#BFAC05
ΔE00 4.93
Desert
#CCAD60
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB346 #465FCC
analogous
#CC7046 #CCB346 #A2CC46
triadic
#CCB346 #46CCB3 #B346CC
tetradic
#CCB346 #46CC70 #465FCC #CC46A2
square
#CCB346 #46CC70 #465FCC #CC46A2
split-complementary
#CCB346 #46A2CC #7046CC
monochromatic
#776721 #A7902E #CCB346 #D9C776 #E6DAA6
Accessibility & contrast
On white
2.08
#CCB346 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.10
#CCB346 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB346
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB346 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB346 | 1.00 | 2.08 | 10.10 | 10.10 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AF39
Deuteranopia (green-blind)
#CBB74C
Tritanopia (blue-blind)
#DCA69C
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb346; /* rgb */ color: rgb(204, 179, 70); /* oklch */ color: oklch(76.8% 0.130 96.2);
Tailwind
colors: {
custom: {
50: '#dfc97f',
500: '#ccb346',
950: '#000000',
},
}SCSS
$custom: #ccb346; $custom-light: #dfc97f; $custom-dark: #000000;
JSON
{
"hex": "#ccb346",
"rgb": {
"r": 204,
"g": 179,
"b": 70
},
"hsl": {
"h": 48.806,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.76814,
"c": 0.12987,
"h": 96.2
},
"luminance": 0.4552
}Semantic roles & 50–950 ramp
primary
#CCB346
secondary
#9AA5D4
accent
#64E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C