#CCC457#CCC457

#CCC457 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.5% C 0.131 H 105.1°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#CCC457
RGBrgb(204, 196, 87)
HSLhsl(56, 53%, 57%)
HSVhsv(56, 57%, 80%)
CMYKcmyk(0%, 3.9%, 57.4%, 20%)
CIE-LABlab(77.88, -11.06, 54.58)
CIE-LCHlch(77.88, 55.69, 101.45°)
OKLaboklab(80.55% -0.034 0.1263)
OKLCHoklch(80.55% 0.131 105.1)
XYZxyz(46.3636, 53.0069, 16.8041)
Luminance0.5301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC457 #575FCC
analogous
#CC8957 #CCC457 #9ACC57
triadic
#CCC457 #57CCC4 #C457CC
tetradic
#CCC457 #57CC89 #575FCC #CC579A
square
#CCC457 #57CC89 #575FCC #CC579A
split-complementary
#CCC457 #579ACC #8957CC
monochromatic
#817B27 #B0A836 #CCC457 #DAD486 #E9E5B5

Accessibility & contrast

On white

1.81
#CCC457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#CCC457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC457
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC457#FFFFFF#000000##000000
##CCC4571.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BE4C
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#DAB8AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ccc457;
/* rgb */ color: rgb(204, 196, 87);
/* oklch */ color: oklch(80.5% 0.131 105.1);
Tailwind
colors: {
  custom: {
    50: '#ded58a',
    500: '#ccc457',
    950: '#000000',
  },
}
SCSS
$custom: #ccc457;
$custom-light: #ded58a;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc457",
  "rgb": {
    "r": 204,
    "g": 196,
    "b": 87
  },
  "hsl": {
    "h": 55.897,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80548,
    "c": 0.13079,
    "h": 105.1
  },
  "luminance": 0.53005
}

Semantic roles & 50–950 ramp

primary
#CCC457
secondary
#3E4389
accent
#55DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CCC457

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

Preview Lab → · Contrast checker → · Palette generator →

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