#CCB245#CCB245
#CCB245 is a light, vivid yellow. Relative luminance 0.451; OKLCH L 76.6% C 0.130 H 95.7°. Best body text is #000000 at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB245 |
|---|---|
| RGB | rgb(204, 178, 69) |
| HSL | hsl(48, 57%, 54%) |
| HSV | hsv(48, 66%, 80%) |
| CMYK | cmyk(0%, 12.7%, 66.2%, 20%) |
| CIE-LAB | lab(72.96, -2.94, 57.15) |
| CIE-LCH | lch(72.96, 57.23, 92.94°) |
| OKLab | oklab(76.6% -0.0129 0.1292) |
| OKLCH | oklch(76.6% 0.13 95.7) |
| XYZ | xyz(41.8984, 45.1100, 12.1293) |
| Luminance | 0.4511 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 4.31
Brownish Yellow
#C9B003
ΔE00 4.39
Mustard (survey)
#CEB301
ΔE00 4.55
Dark Yellow
#D5B60A
ΔE00 4.77
Muddy Yellow
#BFAC05
ΔE00 4.94
Desert
#CCAD60
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB245 #455FCC
analogous
#CC6E45 #CCB245 #A3CC45
triadic
#CCB245 #45CCB2 #B245CC
tetradic
#CCB245 #45CC6E #455FCC #CC45A3
square
#CCB245 #45CC6E #455FCC #CC45A3
split-complementary
#CCB245 #45A3CC #6E45CC
monochromatic
#766620 #A68F2E #CCB245 #D9C675 #E6DAA5
Accessibility & contrast
On white
2.10
#CCB245 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.02
#CCB245 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB245
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB245 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB245 | 1.00 | 2.10 | 10.02 | 10.02 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#DCA59B
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #ccb245; /* rgb */ color: rgb(204, 178, 69); /* oklch */ color: oklch(76.6% 0.130 95.7);
Tailwind
colors: {
custom: {
50: '#dfc87e',
500: '#ccb245',
950: '#000000',
},
}SCSS
$custom: #ccb245; $custom-light: #dfc87e; $custom-dark: #000000;
JSON
{
"hex": "#ccb245",
"rgb": {
"r": 204,
"g": 178,
"b": 69
},
"hsl": {
"h": 48.444,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.76598,
"c": 0.12988,
"h": 95.7
},
"luminance": 0.45108
}Semantic roles & 50–950 ramp
primary
#CCB245
secondary
#99A5D3
accent
#65E048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C