#CCB462#CCB462
#CCB462 is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.106 H 93.5°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB462 |
|---|---|
| RGB | rgb(204, 180, 98) |
| HSL | hsl(46, 51%, 59%) |
| HSV | hsv(46, 52%, 80%) |
| CMYK | cmyk(0%, 11.8%, 52%, 20%) |
| CIE-LAB | lab(73.78, -1.88, 44.59) |
| CIE-LCH | lch(73.78, 44.63, 92.41°) |
| OKLab | oklab(77.34% -0.0064 0.1058) |
| OKLCH | oklch(77.34% 0.106 93.5) |
| XYZ | xyz(43.4293, 46.3636, 18.2144) |
| Luminance | 0.4636 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.90
Tan (survey)
#D1B26F
ΔE00 3.88
Sandy Brown
#C4A661
ΔE00 4.76
Sandstone
#C9AE74
ΔE00 5.07
Darkkhaki
#BDB76B
ΔE00 5.49
Sand (survey)
#E2CA76
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB462 #627ACC
analogous
#CC7F62 #CCB462 #AFCC62
triadic
#CCB462 #62CCB4 #B462CC
tetradic
#CCB462 #62CC7F #627ACC #CC62AF
square
#CCB462 #62CC7F #627ACC #CC62AF
split-complementary
#CCB462 #62AFCC #7F62CC
monochromatic
#88732C #B69A3B #CCB462 #DBCA90 #EAE0BE
Accessibility & contrast
On white
2.04
#CCB462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.27
#CCB462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB462
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB462 | 1.00 | 2.04 | 10.27 | 10.27 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#C9B865
Tritanopia (blue-blind)
#DAA9A1
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #ccb462; /* rgb */ color: rgb(204, 180, 98); /* oklch */ color: oklch(77.3% 0.106 93.5);
Tailwind
colors: {
custom: {
50: '#deca90',
500: '#ccb462',
950: '#000000',
},
}SCSS
$custom: #ccb462; $custom-light: #deca90; $custom-dark: #000000;
JSON
{
"hex": "#ccb462",
"rgb": {
"r": 204,
"g": 180,
"b": 98
},
"hsl": {
"h": 46.415,
"s": 50.962,
"l": 59.216
},
"oklch": {
"l": 0.77338,
"c": 0.106,
"h": 93.5
},
"luminance": 0.46362
}Semantic roles & 50–950 ramp
primary
#CCB462
secondary
#B0BADA
accent
#6DDA4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E