#CCB557#CCB557

#CCB557 is a light, moderate yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.117 H 95.8°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#CCB557
RGBrgb(204, 181, 87)
HSLhsl(48, 53%, 57%)
HSVhsv(48, 57%, 80%)
CMYKcmyk(0%, 11.3%, 57.4%, 20%)
CIE-LABlab(73.92, -3.30, 50.08)
CIE-LCHlch(73.92, 50.19, 93.77°)
OKLaboklab(77.41% -0.0118 0.1166)
OKLCHoklch(77.41% 0.117 95.8)
XYZxyz(43.1477, 46.5752, 15.7321)
Luminance0.4657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB557 #576ECC
analogous
#CC7B57 #CCB557 #A9CC57
triadic
#CCB557 #57CCB5 #B557CC
tetradic
#CCB557 #57CC7B #576ECC #CC57A9
square
#CCB557 #57CC7B #576ECC #CC57A9
split-complementary
#CCB557 #57A9CC #7B57CC
monochromatic
#817027 #B09836 #CCB557 #DACA86 #E9DEB5

Accessibility & contrast

On white

2.04
#CCB557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#CCB557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB557
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB557#FFFFFF#000000##000000
##CCB5571.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B14E
Deuteranopia (green-blind)
#CBB95B
Tritanopia (blue-blind)
#DBA9A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb557;
/* rgb */ color: rgb(204, 181, 87);
/* oklch */ color: oklch(77.4% 0.117 95.8);
Tailwind
colors: {
  custom: {
    50: '#deca89',
    500: '#ccb557',
    950: '#000000',
  },
}
SCSS
$custom: #ccb557;
$custom-light: #deca89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb557",
  "rgb": {
    "r": 204,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 48.205,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77406,
    "c": 0.11722,
    "h": 95.8
  },
  "luminance": 0.46573
}

Semantic roles & 50–950 ramp

primary
#CCB557
secondary
#A8B1D7
accent
#68DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CCB557

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CCB557 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva