#CECD5A#CECD5A

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

Color values

HEX#CECD5A
RGBrgb(206, 205, 90)
HSLhsl(59, 54%, 58%)
HSVhsv(59, 56%, 81%)
CMYKcmyk(0%, 0.5%, 56.3%, 19.2%)
CIE-LABlab(80.47, -14.56, 56.19)
CIE-LCHlch(80.47, 58.05, 104.52°)
OKLaboklab(82.66% -0.0438 0.1301)
OKLCHoklch(82.66% 0.137 108.6)
XYZxyz(49.1318, 57.5240, 18.1860)
Luminance0.5752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD5A #5A5BCE
analogous
#CE935A #CECD5A #95CE5A
triadic
#CECD5A #5ACECD #CD5ACE
tetradic
#CECD5A #5ACE93 #5A5BCE #CE5A95
square
#CECD5A #5ACE93 #5A5BCE #CE5A95
split-complementary
#CECD5A #5A95CE #935ACE
monochromatic
#868528 #B5B436 #CECD5A #DCDB89 #EAEAB8

Accessibility & contrast

On white

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

On black

12.50
#CECD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD5A
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD5A#FFFFFF#000000##000000
##CECD5A1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cecd5a;
/* rgb */ color: rgb(206, 205, 90);
/* oklch */ color: oklch(82.7% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc8d',
    500: '#cecd5a',
    950: '#000000',
  },
}
SCSS
$custom: #cecd5a;
$custom-light: #dfdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd5a",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 59.483,
    "s": 54.206,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82663,
    "c": 0.13721,
    "h": 108.6
  },
  "luminance": 0.57523
}

Semantic roles & 50–950 ramp

primary
#CECD5A
secondary
#3F408D
accent
#4CDE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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