#CCBC74#CCBC74
#CCBC74 is a light, moderate yellow. Relative luminance 0.501; OKLCH L 79.3% C 0.094 H 97.2°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #CCBC74 |
|---|---|
| RGB | rgb(204, 188, 116) |
| HSL | hsl(49, 46%, 63%) |
| HSV | hsv(49, 43%, 80%) |
| CMYK | cmyk(0%, 7.8%, 43.1%, 20%) |
| CIE-LAB | lab(76.11, -4.35, 38.40) |
| CIE-LCH | lch(76.11, 38.65, 96.47°) |
| OKLab | oklab(79.26% -0.0117 0.0933) |
| OKLCH | oklch(79.26% 0.094 97.2) |
| XYZ | xyz(46.0386, 50.0663, 23.7583) |
| Luminance | 0.5007 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.65
Sand (survey)
#E2CA76
ΔE00 4.77
Sand
#C2B280
ΔE00 5.17
Tan (survey)
#D1B26F
ΔE00 5.30
Desert
#CCAD60
ΔE00 5.69
Sandstone
#C9AE74
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCBC74 #7484CC
analogous
#CC9074 #CCBC74 #B0CC74
triadic
#CCBC74 #74CCBC #BC74CC
tetradic
#CCBC74 #74CC90 #7484CC #CC74B0
square
#CCBC74 #74CC90 #7484CC #CC74B0
split-complementary
#CCBC74 #74B0CC #9074CC
monochromatic
#918035 #BCA647 #CCBC74 #DCD2A1 #EDE7CE
Accessibility & contrast
On white
1.91
#CCBC74 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.01
#CCBC74 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCBC74
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCBC74 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCBC74 | 1.00 | 1.91 | 11.01 | 11.01 |
| #FFFFFF | 1.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B86E
Deuteranopia (green-blind)
#CEBE77
Tritanopia (blue-blind)
#D8B2AA
Achromatopsia (no color)
#BCBCBC
Design tokens & code
CSS
--color: #ccbc74; /* rgb */ color: rgb(204, 188, 116); /* oklch */ color: oklch(79.3% 0.094 97.2);
Tailwind
colors: {
custom: {
50: '#ddd09d',
500: '#ccbc74',
950: '#000000',
},
}SCSS
$custom: #ccbc74; $custom-light: #ddd09d; $custom-dark: #000000;
JSON
{
"hex": "#ccbc74",
"rgb": {
"r": 204,
"g": 188,
"b": 116
},
"hsl": {
"h": 49.091,
"s": 46.316,
"l": 62.745
},
"oklch": {
"l": 0.79257,
"c": 0.09401,
"h": 97.2
},
"luminance": 0.50065
}Semantic roles & 50–950 ramp
primary
#CCBC74
secondary
#4D5B97
accent
#46BA2C
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15130E
muted
#84837F