#CCBD74#CCBD74
#CCBD74 is a light, moderate yellow. Relative luminance 0.505; OKLCH L 79.5% C 0.095 H 98.0°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBD74 |
|---|---|
| RGB | rgb(204, 189, 116) |
| HSL | hsl(50, 46%, 63%) |
| HSV | hsv(50, 43%, 80%) |
| CMYK | cmyk(0%, 7.4%, 43.1%, 20%) |
| CIE-LAB | lab(76.37, -4.87, 38.74) |
| CIE-LCH | lch(76.37, 39.04, 97.17°) |
| OKLab | oklab(79.46% -0.0132 0.094) |
| OKLCH | oklch(79.46% 0.095 98) |
| XYZ | xyz(46.2529, 50.4950, 23.8297) |
| Luminance | 0.5049 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.47
Sand (survey)
#E2CA76
ΔE00 4.70
Sand
#C2B280
ΔE00 5.46
Tan (survey)
#D1B26F
ΔE00 5.71
Desert
#CCAD60
ΔE00 6.05
Sandstone
#C9AE74
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBD74 #7483CC
analogous
#CC9174 #CCBD74 #AFCC74
triadic
#CCBD74 #74CCBD #BD74CC
tetradic
#CCBD74 #74CC91 #7483CC #CC74AF
square
#CCBD74 #74CC91 #7483CC #CC74AF
split-complementary
#CCBD74 #74AFCC #9174CC
monochromatic
#918135 #BCA847 #CCBD74 #DCD2A1 #EDE8CE
Accessibility & contrast
On white
1.89
#CCBD74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.10
#CCBD74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBD74
11.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBD74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBD74 | 1.00 | 1.89 | 11.10 | 11.10 |
| #FFFFFF | 1.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB96E
Deuteranopia (green-blind)
#CEBF77
Tritanopia (blue-blind)
#D8B3AB
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #ccbd74; /* rgb */ color: rgb(204, 189, 116); /* oklch */ color: oklch(79.5% 0.095 98.0);
Tailwind
colors: {
custom: {
50: '#ddd09d',
500: '#ccbd74',
950: '#000000',
},
}SCSS
$custom: #ccbd74; $custom-light: #ddd09d; $custom-dark: #000000;
JSON
{
"hex": "#ccbd74",
"rgb": {
"r": 204,
"g": 189,
"b": 116
},
"hsl": {
"h": 49.773,
"s": 46.316,
"l": 62.745
},
"oklch": {
"l": 0.79464,
"c": 0.09496,
"h": 98
},
"luminance": 0.50494
}Semantic roles & 50–950 ramp
primary
#CCBD74
secondary
#4D5A97
accent
#44BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F