#CCB362#CCB362
#CCB362 is a light, moderate yellow. Relative luminance 0.460; OKLCH L 77.1% C 0.105 H 92.6°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB362 |
|---|---|
| RGB | rgb(204, 179, 98) |
| HSL | hsl(46, 51%, 59%) |
| HSV | hsv(46, 52%, 80%) |
| CMYK | cmyk(0%, 12.3%, 52%, 20%) |
| CIE-LAB | lab(73.52, -1.35, 44.28) |
| CIE-LCH | lch(73.52, 44.30, 91.75°) |
| OKLab | oklab(77.13% -0.0048 0.1051) |
| OKLCH | oklch(77.13% 0.105 92.6) |
| XYZ | xyz(43.2281, 45.9614, 18.1473) |
| Luminance | 0.4596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.47
Tan (survey)
#D1B26F
ΔE00 3.53
Sandy Brown
#C4A661
ΔE00 4.37
Sandstone
#C9AE74
ΔE00 4.76
Darkkhaki
#BDB76B
ΔE00 5.78
Sand (survey)
#E2CA76
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB362 #627BCC
analogous
#CC7E62 #CCB362 #B0CC62
triadic
#CCB362 #62CCB3 #B362CC
tetradic
#CCB362 #62CC7E #627BCC #CC62B0
square
#CCB362 #62CC7E #627BCC #CC62B0
split-complementary
#CCB362 #62B0CC #7E62CC
monochromatic
#88722C #B6993B #CCB362 #DBC990 #EAE0BE
Accessibility & contrast
On white
2.06
#CCB362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.19
#CCB362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB362
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB362 | 1.00 | 2.06 | 10.19 | 10.19 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B05B
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#DAA8A0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb362; /* rgb */ color: rgb(204, 179, 98); /* oklch */ color: oklch(77.1% 0.105 92.6);
Tailwind
colors: {
custom: {
50: '#dec990',
500: '#ccb362',
950: '#000000',
},
}SCSS
$custom: #ccb362; $custom-light: #dec990; $custom-dark: #000000;
JSON
{
"hex": "#ccb362",
"rgb": {
"r": 204,
"g": 179,
"b": 98
},
"hsl": {
"h": 45.849,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.77133,
"c": 0.10523,
"h": 92.6
},
"luminance": 0.45959
}Semantic roles & 50–950 ramp
primary
#CCB362
secondary
#B0BADA
accent
#6FDA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E