#CCB261#CCB261
#CCB261 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.105 H 92.0°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB261 |
|---|---|
| RGB | rgb(204, 178, 97) |
| HSL | hsl(45, 51%, 59%) |
| HSV | hsv(45, 52%, 80%) |
| CMYK | cmyk(0%, 12.7%, 52.5%, 20%) |
| CIE-LAB | lab(73.25, -0.91, 44.45) |
| CIE-LCH | lch(73.25, 44.46, 91.17°) |
| OKLab | oklab(76.91% -0.0037 0.1054) |
| OKLCH | oklch(76.91% 0.105 92) |
| XYZ | xyz(42.9815, 45.5432, 17.8337) |
| Luminance | 0.4554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.12
Tan (survey)
#D1B26F
ΔE00 3.36
Sandy Brown
#C4A661
ΔE00 4.07
Sandstone
#C9AE74
ΔE00 4.62
Sand Brown
#CBA560
ΔE00 5.60
Darkkhaki
#BDB76B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB261 #617BCC
analogous
#CC7D61 #CCB261 #B0CC61
triadic
#CCB261 #61CCB2 #B261CC
tetradic
#CCB261 #61CC7D #617BCC #CC61B0
square
#CCB261 #61CC7D #617BCC #CC61B0
split-complementary
#CCB261 #61B0CC #7D61CC
monochromatic
#87712C #B5973B #CCB261 #DBC98F #EADFBE
Accessibility & contrast
On white
2.08
#CCB261 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.11
#CCB261 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB261
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB261 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB261 | 1.00 | 2.08 | 10.11 | 10.11 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AF5A
Deuteranopia (green-blind)
#C8B764
Tritanopia (blue-blind)
#DAA79F
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb261; /* rgb */ color: rgb(204, 178, 97); /* oklch */ color: oklch(76.9% 0.105 92.0);
Tailwind
colors: {
custom: {
50: '#dec890',
500: '#ccb261',
950: '#000000',
},
}SCSS
$custom: #ccb261; $custom-light: #dec890; $custom-dark: #000000;
JSON
{
"hex": "#ccb261",
"rgb": {
"r": 204,
"g": 178,
"b": 97
},
"hsl": {
"h": 45.421,
"s": 51.196,
"l": 59.02
},
"oklch": {
"l": 0.76914,
"c": 0.10546,
"h": 92
},
"luminance": 0.45541
}Semantic roles & 50–950 ramp
primary
#CCB261
secondary
#AFBAD9
accent
#70DB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D