#CCB657#CCB657

#CCB657 is a light, moderate yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.118 H 96.5°. Best body text is #000000 at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#CCB657
RGBrgb(204, 182, 87)
HSLhsl(49, 53%, 57%)
HSVhsv(49, 57%, 80%)
CMYKcmyk(0%, 10.8%, 57.4%, 20%)
CIE-LABlab(74.18, -3.82, 50.38)
CIE-LCHlch(74.18, 50.53, 94.34°)
OKLaboklab(77.61% -0.0133 0.1173)
OKLCHoklch(77.61% 0.118 96.5)
XYZxyz(43.3518, 46.9833, 15.8001)
Luminance0.4698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB657 #576DCC
analogous
#CC7C57 #CCB657 #A8CC57
triadic
#CCB657 #57CCB6 #B657CC
tetradic
#CCB657 #57CC7C #576DCC #CC57A8
square
#CCB657 #57CC7C #576DCC #CC57A8
split-complementary
#CCB657 #57A8CC #7C57CC
monochromatic
#817027 #B09936 #CCB657 #DACA86 #E9DFB5

Accessibility & contrast

On white

2.02
#CCB657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.40
#CCB657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB657
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB657#FFFFFF#000000##000000
##CCB6571.002.0210.4010.40
#FFFFFF2.021.0021.0021.00
#00000010.4021.001.001.00
##00000010.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B24E
Deuteranopia (green-blind)
#CCBA5B
Tritanopia (blue-blind)
#DBAAA1
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ccb657;
/* rgb */ color: rgb(204, 182, 87);
/* oklch */ color: oklch(77.6% 0.118 96.5);
Tailwind
colors: {
  custom: {
    50: '#decb89',
    500: '#ccb657',
    950: '#000000',
  },
}
SCSS
$custom: #ccb657;
$custom-light: #decb89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb657",
  "rgb": {
    "r": 204,
    "g": 182,
    "b": 87
  },
  "hsl": {
    "h": 48.718,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77613,
    "c": 0.11803,
    "h": 96.5
  },
  "luminance": 0.46981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB657

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

Preview Lab → · Contrast checker → · Palette generator →

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