#CCB257#CCB257
#CCB257 is a light, moderate yellow. Relative luminance 0.454; OKLCH L 76.8% C 0.115 H 93.6°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CCB257 |
|---|---|
| RGB | rgb(204, 178, 87) |
| HSL | hsl(47, 53%, 57%) |
| HSV | hsv(47, 57%, 80%) |
| CMYK | cmyk(0%, 12.7%, 57.4%, 20%) |
| CIE-LAB | lab(73.13, -1.72, 49.18) |
| CIE-LCH | lch(73.13, 49.21, 92.00°) |
| OKLab | oklab(76.79% -0.0072 0.1147) |
| OKLCH | oklch(76.79% 0.115 93.6) |
| XYZ | xyz(42.5443, 45.3683, 15.5310) |
| Luminance | 0.4537 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.16
Tan (survey)
#D1B26F
ΔE00 4.81
Sandy Brown
#C4A661
ΔE00 5.12
Mustard
#DBB42C
ΔE00 5.85
Sandstone
#C9AE74
ΔE00 6.17
Sand (survey)
#E2CA76
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCB257 #5771CC
analogous
#CC7857 #CCB257 #ABCC57
triadic
#CCB257 #57CCB2 #B257CC
tetradic
#CCB257 #57CC78 #5771CC #CC57AB
square
#CCB257 #57CC78 #5771CC #CC57AB
split-complementary
#CCB257 #57ABCC #7857CC
monochromatic
#816D27 #B09536 #CCB257 #DAC886 #E9DDB5
Accessibility & contrast
On white
2.08
#CCB257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#CCB257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCB257
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCB257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCB257 | 1.00 | 2.08 | 10.07 | 10.07 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF4E
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#DBA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #ccb257; /* rgb */ color: rgb(204, 178, 87); /* oklch */ color: oklch(76.8% 0.115 93.6);
Tailwind
colors: {
custom: {
50: '#dec889',
500: '#ccb257',
950: '#000000',
},
}SCSS
$custom: #ccb257; $custom-light: #dec889; $custom-dark: #000000;
JSON
{
"hex": "#ccb257",
"rgb": {
"r": 204,
"g": 178,
"b": 87
},
"hsl": {
"h": 46.667,
"s": 53.425,
"l": 57.059
},
"oklch": {
"l": 0.76787,
"c": 0.11492,
"h": 93.6
},
"luminance": 0.45366
}Semantic roles & 50–950 ramp
primary
#CCB257
secondary
#A8B2D7
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D