#CCB262#CCB262
#CCB262 is a light, moderate yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.104 H 91.8°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB262 |
|---|---|
| RGB | rgb(204, 178, 98) |
| HSL | hsl(45, 51%, 59%) |
| HSV | hsv(45, 52%, 80%) |
| CMYK | cmyk(0%, 12.7%, 52%, 20%) |
| CIE-LAB | lab(73.26, -0.82, 43.97) |
| CIE-LCH | lch(73.26, 43.98, 91.07°) |
| OKLab | oklab(76.93% -0.0033 0.1044) |
| OKLCH | oklch(76.93% 0.104 91.8) |
| XYZ | xyz(43.0284, 45.5620, 18.0808) |
| Luminance | 0.4556 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.05
Tan (survey)
#D1B26F
ΔE00 3.21
Sandy Brown
#C4A661
ΔE00 3.98
Sandstone
#C9AE74
ΔE00 4.46
Sand Brown
#CBA560
ΔE00 5.51
Darkkhaki
#BDB76B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB262 #627CCC
analogous
#CC7D62 #CCB262 #B1CC62
triadic
#CCB262 #62CCB2 #B262CC
tetradic
#CCB262 #62CC7D #627CCC #CC62B1
square
#CCB262 #62CC7D #627CCC #CC62B1
split-complementary
#CCB262 #62B1CC #7D62CC
monochromatic
#88712C #B6983B #CCB262 #DBC990 #EADFBE
Accessibility & contrast
On white
2.08
#CCB262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.11
#CCB262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB262
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB262 | 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)
#C1AF5B
Deuteranopia (green-blind)
#C8B765
Tritanopia (blue-blind)
#DAA79F
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb262; /* rgb */ color: rgb(204, 178, 98); /* oklch */ color: oklch(76.9% 0.104 91.8);
Tailwind
colors: {
custom: {
50: '#dec890',
500: '#ccb262',
950: '#000000',
},
}SCSS
$custom: #ccb262; $custom-light: #dec890; $custom-dark: #000000;
JSON
{
"hex": "#ccb262",
"rgb": {
"r": 204,
"g": 178,
"b": 98
},
"hsl": {
"h": 45.283,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.76927,
"c": 0.10448,
"h": 91.8
},
"luminance": 0.4556
}Semantic roles & 50–950 ramp
primary
#CCB262
secondary
#B0BADA
accent
#70DA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E