#CEC554#CEC554

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

Color values

HEX#CEC554
RGBrgb(206, 197, 84)
HSLhsl(56, 55%, 57%)
HSVhsv(56, 59%, 81%)
CMYKcmyk(0%, 4.4%, 59.2%, 19.2%)
CIE-LABlab(78.28, -10.95, 56.42)
CIE-LCHlch(78.28, 57.47, 100.98°)
OKLaboklab(80.9% -0.0342 0.1298)
OKLCHoklch(80.9% 0.134 104.7)
XYZxyz(47.0217, 53.6960, 16.2732)
Luminance0.5369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC554 #545DCE
analogous
#CE8854 #CEC554 #9ACE54
triadic
#CEC554 #54CEC5 #C554CE
tetradic
#CEC554 #54CE88 #545DCE #CE549A
square
#CEC554 #54CE88 #545DCE #CE549A
split-complementary
#CEC554 #549ACE #8854CE
monochromatic
#827B25 #B2A833 #CEC554 #DCD584 #E9E5B3

Accessibility & contrast

On white

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

On black

11.74
#CEC554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC554
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC554#FFFFFF#000000##000000
##CEC5541.001.7911.7411.74
#FFFFFF1.791.0021.0021.00
#00000011.7421.001.001.00
##00000011.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF48
Deuteranopia (green-blind)
#D8C45A
Tritanopia (blue-blind)
#DCB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cec554;
/* rgb */ color: rgb(206, 197, 84);
/* oklch */ color: oklch(80.9% 0.134 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d688',
    500: '#cec554',
    950: '#000000',
  },
}
SCSS
$custom: #cec554;
$custom-light: #e0d688;
$custom-dark: #000000;
JSON
{
  "hex": "#cec554",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 55.574,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.80902,
    "c": 0.13421,
    "h": 104.7
  },
  "luminance": 0.53694
}

Semantic roles & 50–950 ramp

primary
#CEC554
secondary
#3D428A
accent
#54DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC554

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

Preview Lab → · Contrast checker → · Palette generator →

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