#CECD5C#CECD5C

#CECD5C is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.135 H 108.6°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CECD5C
RGBrgb(206, 205, 92)
HSLhsl(59, 54%, 58%)
HSVhsv(59, 55%, 81%)
CMYKcmyk(0%, 0.5%, 55.3%, 19.2%)
CIE-LABlab(80.49, -14.40, 55.31)
CIE-LCHlch(80.49, 57.16, 104.60°)
OKLaboklab(82.69% -0.0431 0.1284)
OKLCHoklch(82.69% 0.135 108.6)
XYZxyz(49.2180, 57.5585, 18.6404)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD5C #5C5DCE
analogous
#CE945C #CECD5C #96CE5C
triadic
#CECD5C #5CCECD #CD5CCE
tetradic
#CECD5C #5CCE94 #5C5DCE #CE5C96
square
#CECD5C #5CCE94 #5C5DCE #CE5C96
split-complementary
#CECD5C #5C96CE #945CCE
monochromatic
#878629 #B6B537 #CECD5C #DCDB8B #EAEABA

Accessibility & contrast

On white

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

On black

12.51
#CECD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD5C
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD5C#FFFFFF#000000##000000
##CECD5C1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC550
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#DBC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecd5c;
/* rgb */ color: rgb(206, 205, 92);
/* oklch */ color: oklch(82.7% 0.135 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc8e',
    500: '#cecd5c',
    950: '#000000',
  },
}
SCSS
$custom: #cecd5c;
$custom-light: #dfdc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd5c",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 59.474,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82685,
    "c": 0.13545,
    "h": 108.6
  },
  "luminance": 0.57557
}

Semantic roles & 50–950 ramp

primary
#CECD5C
secondary
#40418E
accent
#4CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CECD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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