#CCC57E#CCC57E

#CCC57E is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.092 H 103.4°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#CCC57E
RGBrgb(204, 197, 126)
HSLhsl(55, 43%, 65%)
HSVhsv(55, 38%, 80%)
CMYKcmyk(0%, 3.4%, 38.2%, 20%)
CIE-LABlab(78.62, -7.94, 36.49)
CIE-LCHlch(78.62, 37.35, 102.27°)
OKLaboklab(81.3% -0.0213 0.0894)
OKLCHoklch(81.3% 0.092 103.4)
XYZxyz(48.6348, 54.2774, 27.6493)
Luminance0.5428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCC57E #7E85CC
analogous
#CC9E7E #CCC57E #ACCC7E
triadic
#CCC57E #7ECCC5 #C57ECC
tetradic
#CCC57E #7ECC9E #7E85CC #CC7EAC
square
#CCC57E #7ECC9E #7E85CC #CC7EAC
split-complementary
#CCC57E #7EACCC #9E7ECC
monochromatic
#958D3B #BBB152 #CCC57E #DDD9AA #EFECD6

Accessibility & contrast

On white

1.77
#CCC57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#CCC57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCC57E
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCC57E#FFFFFF#000000##000000
##CCC57E1.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C079
Deuteranopia (green-blind)
#D3C481
Tritanopia (blue-blind)
#D7BCB3
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #ccc57e;
/* rgb */ color: rgb(204, 197, 126);
/* oklch */ color: oklch(81.3% 0.092 103.4);
Tailwind
colors: {
  custom: {
    50: '#ddd6a4',
    500: '#ccc57e',
    950: '#000000',
  },
}
SCSS
$custom: #ccc57e;
$custom-light: #ddd6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccc57e",
  "rgb": {
    "r": 204,
    "g": 197,
    "b": 126
  },
  "hsl": {
    "h": 54.615,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.81295,
    "c": 0.09192,
    "h": 103.4
  },
  "luminance": 0.54276
}

Semantic roles & 50–950 ramp

primary
#CCC57E
secondary
#53599B
accent
#3BB62F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CCC57E

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

Preview Lab → · Contrast checker → · Palette generator →

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