#CCB457#CCB457

#CCB457 is a light, moderate yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.116 H 95.0°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#CCB457
RGBrgb(204, 180, 87)
HSLhsl(48, 53%, 57%)
HSVhsv(48, 57%, 80%)
CMYKcmyk(0%, 11.8%, 57.4%, 20%)
CIE-LABlab(73.66, -2.77, 49.78)
CIE-LCHlch(73.66, 49.86, 93.19°)
OKLaboklab(77.2% -0.0102 0.116)
OKLCHoklch(77.2% 0.116 95)
XYZxyz(42.9451, 46.1700, 15.6646)
Luminance0.4617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCB457 #576FCC
analogous
#CC7957 #CCB457 #AACC57
triadic
#CCB457 #57CCB4 #B457CC
tetradic
#CCB457 #57CC79 #576FCC #CC57AA
square
#CCB457 #57CC79 #576FCC #CC57AA
split-complementary
#CCB457 #57AACC #7957CC
monochromatic
#816F27 #B09736 #CCB457 #DAC986 #E9DEB5

Accessibility & contrast

On white

2.05
#CCB457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#CCB457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCB457
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCB457#FFFFFF#000000##000000
##CCB4571.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B14E
Deuteranopia (green-blind)
#CAB85B
Tritanopia (blue-blind)
#DBA89F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ccb457;
/* rgb */ color: rgb(204, 180, 87);
/* oklch */ color: oklch(77.2% 0.116 95.0);
Tailwind
colors: {
  custom: {
    50: '#deca89',
    500: '#ccb457',
    950: '#000000',
  },
}
SCSS
$custom: #ccb457;
$custom-light: #deca89;
$custom-dark: #000000;
JSON
{
  "hex": "#ccb457",
  "rgb": {
    "r": 204,
    "g": 180,
    "b": 87
  },
  "hsl": {
    "h": 47.692,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.77199,
    "c": 0.11643,
    "h": 95
  },
  "luminance": 0.46168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCB457

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

Preview Lab → · Contrast checker → · Palette generator →

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