#CEC552#CEC552

#CEC552 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.9% C 0.136 H 104.8°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#CEC552
RGBrgb(206, 197, 82)
HSLhsl(56, 56%, 56%)
HSVhsv(56, 60%, 81%)
CMYKcmyk(0%, 4.4%, 60.2%, 19.2%)
CIE-LABlab(78.27, -11.09, 57.28)
CIE-LCHlch(78.27, 58.34, 100.95°)
OKLaboklab(80.88% -0.0348 0.1314)
OKLCHoklch(80.88% 0.136 104.8)
XYZxyz(46.9445, 53.6651, 15.8666)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC552 #525BCE
analogous
#CE8752 #CEC552 #99CE52
triadic
#CEC552 #52CEC5 #C552CE
tetradic
#CEC552 #52CE87 #525BCE #CE5299
square
#CEC552 #52CE87 #525BCE #CE5299
split-complementary
#CEC552 #5299CE #8752CE
monochromatic
#817A25 #B1A832 #CEC552 #DCD582 #E9E5B1

Accessibility & contrast

On white

1.79
#CEC552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#CEC552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC552
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC552#FFFFFF#000000##000000
##CEC5521.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#DCB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec552;
/* rgb */ color: rgb(206, 197, 82);
/* oklch */ color: oklch(80.9% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#e0d687',
    500: '#cec552',
    950: '#000000',
  },
}
SCSS
$custom: #cec552;
$custom-light: #e0d687;
$custom-dark: #000000;
JSON
{
  "hex": "#cec552",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 55.645,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80882,
    "c": 0.13588,
    "h": 104.8
  },
  "luminance": 0.53664
}

Semantic roles & 50–950 ramp

primary
#CEC552
secondary
#3C4188
accent
#54DF49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC552

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

Preview Lab → · Contrast checker → · Palette generator →

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