#CCB756#CCB756
#CCB756 is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.120 H 97.2°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB756 |
|---|---|
| RGB | rgb(204, 183, 86) |
| HSL | hsl(49, 54%, 57%) |
| HSV | hsv(49, 58%, 80%) |
| CMYK | cmyk(0%, 10.3%, 57.8%, 20%) |
| CIE-LAB | lab(74.43, -4.42, 51.14) |
| CIE-LCH | lch(74.43, 51.33, 94.94°) |
| OKLab | oklab(77.81% -0.0151 0.1188) |
| OKLCH | oklch(77.81% 0.12 97.2) |
| XYZ | xyz(43.5167, 47.3781, 15.6550) |
| Luminance | 0.4738 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 5.14
Darkkhaki
#BDB76B
ΔE00 5.53
Sand (survey)
#E2CA76
ΔE00 5.61
Mustard
#DBB42C
ΔE00 6.18
Brownish Yellow
#C9B003
ΔE00 6.25
Mustard (survey)
#CEB301
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB756 #566BCC
analogous
#CC7C56 #CCB756 #A6CC56
triadic
#CCB756 #56CCB7 #B756CC
tetradic
#CCB756 #56CC7C #566BCC #CC56A6
square
#CCB756 #56CC7C #566BCC #CC56A6
split-complementary
#CCB756 #56A6CC #7C56CC
monochromatic
#817127 #B09A35 #CCB756 #DACB85 #E8DFB4
Accessibility & contrast
On white
2.00
#CCB756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.48
#CCB756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB756
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB756 | 1.00 | 2.00 | 10.48 | 10.48 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B34C
Deuteranopia (green-blind)
#CDBA5A
Tritanopia (blue-blind)
#DBABA1
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #ccb756; /* rgb */ color: rgb(204, 183, 86); /* oklch */ color: oklch(77.8% 0.120 97.2);
Tailwind
colors: {
custom: {
50: '#decc89',
500: '#ccb756',
950: '#000000',
},
}SCSS
$custom: #ccb756; $custom-light: #decc89; $custom-dark: #000000;
JSON
{
"hex": "#ccb756",
"rgb": {
"r": 204,
"g": 183,
"b": 86
},
"hsl": {
"h": 49.322,
"s": 53.636,
"l": 56.863
},
"oklch": {
"l": 0.77809,
"c": 0.11975,
"h": 97.2
},
"luminance": 0.47376
}Semantic roles & 50–950 ramp
primary
#CCB756
secondary
#A7AFD7
accent
#65DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D