#CCB358#CCB358
#CCB358 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.115 H 94.2°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB358 |
|---|---|
| RGB | rgb(204, 179, 88) |
| HSL | hsl(47, 53%, 57%) |
| HSV | hsv(47, 57%, 80%) |
| CMYK | cmyk(0%, 12.3%, 56.9%, 20%) |
| CIE-LAB | lab(73.41, -2.17, 49.02) |
| CIE-LCH | lch(73.41, 49.07, 92.54°) |
| OKLab | oklab(77.01% -0.0084 0.1145) |
| OKLCH | oklch(77.01% 0.115 94.2) |
| XYZ | xyz(42.7851, 45.7842, 15.8142) |
| Luminance | 0.4578 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.42
Tan (survey)
#D1B26F
ΔE00 4.95
Sandy Brown
#C4A661
ΔE00 5.37
Mustard
#DBB42C
ΔE00 5.98
Sand (survey)
#E2CA76
ΔE00 6.05
Darkkhaki
#BDB76B
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB358 #5871CC
analogous
#CC7958 #CCB358 #ABCC58
triadic
#CCB358 #58CCB3 #B358CC
tetradic
#CCB358 #58CC79 #5871CC #CC58AB
square
#CCB358 #58CC79 #5871CC #CC58AB
split-complementary
#CCB358 #58ABCC #7958CC
monochromatic
#826E28 #B19636 #CCB358 #DAC887 #E9DEB6
Accessibility & contrast
On white
2.07
#CCB358 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#CCB358 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB358
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB358 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB358 | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B04F
Deuteranopia (green-blind)
#CAB85C
Tritanopia (blue-blind)
#DBA79E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb358; /* rgb */ color: rgb(204, 179, 88); /* oklch */ color: oklch(77.0% 0.115 94.2);
Tailwind
colors: {
custom: {
50: '#dec98a',
500: '#ccb358',
950: '#000000',
},
}SCSS
$custom: #ccb358; $custom-light: #dec98a; $custom-dark: #000000;
JSON
{
"hex": "#ccb358",
"rgb": {
"r": 204,
"g": 179,
"b": 88
},
"hsl": {
"h": 47.069,
"s": 53.211,
"l": 57.255
},
"oklch": {
"l": 0.77005,
"c": 0.11476,
"h": 94.2
},
"luminance": 0.45782
}Semantic roles & 50–950 ramp
primary
#CCB358
secondary
#A8B3D7
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D