#CEC551#CEC551

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

Color values

HEX#CEC551
RGBrgb(206, 197, 81)
HSLhsl(56, 56%, 56%)
HSVhsv(56, 61%, 81%)
CMYKcmyk(0%, 4.4%, 60.7%, 19.2%)
CIE-LABlab(78.26, -11.16, 57.71)
CIE-LCHlch(78.26, 58.78, 100.94°)
OKLaboklab(80.87% -0.0351 0.1321)
OKLCHoklch(80.87% 0.137 104.9)
XYZxyz(46.9067, 53.6500, 15.6676)
Luminance0.5365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC551 #515ACE
analogous
#CE8751 #CEC551 #99CE51
triadic
#CEC551 #51CEC5 #C551CE
tetradic
#CEC551 #51CE87 #515ACE #CE5199
square
#CEC551 #51CE87 #515ACE #CE5199
split-complementary
#CEC551 #5199CE #8751CE
monochromatic
#807A24 #B0A732 #CEC551 #DBD581 #E9E5B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC551#FFFFFF#000000##000000
##CEC5511.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)
#D5BE44
Deuteranopia (green-blind)
#D8C457
Tritanopia (blue-blind)
#DCB9AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec551;
/* rgb */ color: rgb(206, 197, 81);
/* oklch */ color: oklch(80.9% 0.137 104.9);
Tailwind
colors: {
  custom: {
    50: '#e0d687',
    500: '#cec551',
    950: '#000000',
  },
}
SCSS
$custom: #cec551;
$custom-light: #e0d687;
$custom-dark: #000000;
JSON
{
  "hex": "#cec551",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 55.68,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80872,
    "c": 0.13671,
    "h": 104.9
  },
  "luminance": 0.53648
}

Semantic roles & 50–950 ramp

primary
#CEC551
secondary
#3B4188
accent
#53DF48
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC551

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

Preview Lab → · Contrast checker → · Palette generator →

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