#CECD54#CECD54

#CECD54 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.6% C 0.142 H 108.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#CECD54
RGBrgb(206, 205, 84)
HSLhsl(60, 55%, 57%)
HSVhsv(60, 59%, 81%)
CMYKcmyk(0%, 0.5%, 59.2%, 19.2%)
CIE-LABlab(80.42, -14.99, 58.77)
CIE-LCHlch(80.42, 60.65, 104.31°)
OKLaboklab(82.6% -0.0456 0.1348)
OKLCHoklch(82.6% 0.142 108.7)
XYZxyz(48.8866, 57.4259, 16.8949)
Luminance0.5743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD54 #5455CE
analogous
#CE9054 #CECD54 #92CE54
triadic
#CECD54 #54CECD #CD54CE
tetradic
#CECD54 #54CE90 #5455CE #CE5492
square
#CECD54 #54CE90 #5455CE #CE5492
split-complementary
#CECD54 #5492CE #9054CE
monochromatic
#828225 #B2B133 #CECD54 #DCDB84 #E9E9B3

Accessibility & contrast

On white

1.68
#CECD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.49
#CECD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD54
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD54#FFFFFF#000000##000000
##CECD541.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#DECA5B
Tritanopia (blue-blind)
#DCC1B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecd54;
/* rgb */ color: rgb(206, 205, 84);
/* oklch */ color: oklch(82.6% 0.142 108.7);
Tailwind
colors: {
  custom: {
    50: '#e0dc89',
    500: '#cecd54',
    950: '#000000',
  },
}
SCSS
$custom: #cecd54;
$custom-light: #e0dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd54",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 59.508,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82602,
    "c": 0.14229,
    "h": 108.7
  },
  "luminance": 0.57425
}

Semantic roles & 50–950 ramp

primary
#CECD54
secondary
#3D3D8A
accent
#4ADF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECD54

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

Preview Lab → · Contrast checker → · Palette generator →

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