#CECD5B#CECD5B

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

Color values

HEX#CECD5B
RGBrgb(206, 205, 91)
HSLhsl(59, 54%, 58%)
HSVhsv(59, 56%, 81%)
CMYKcmyk(0%, 0.5%, 55.8%, 19.2%)
CIE-LABlab(80.48, -14.48, 55.75)
CIE-LCHlch(80.48, 57.60, 104.56°)
OKLaboklab(82.67% -0.0434 0.1292)
OKLCHoklch(82.67% 0.136 108.6)
XYZxyz(49.1746, 57.5411, 18.4117)
Luminance0.5754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD5B #5B5CCE
analogous
#CE935B #CECD5B #95CE5B
triadic
#CECD5B #5BCECD #CD5BCE
tetradic
#CECD5B #5BCE93 #5B5CCE #CE5B95
square
#CECD5B #5BCE93 #5B5CCE #CE5B95
split-complementary
#CECD5B #5B95CE #935BCE
monochromatic
#868628 #B6B436 #CECD5B #DCDB8A #EAEAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CECD5B#FFFFFF#000000##000000
##CECD5B1.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)
#DCC54F
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#DBC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecd5b;
/* rgb */ color: rgb(206, 205, 91);
/* oklch */ color: oklch(82.7% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc8d',
    500: '#cecd5b',
    950: '#000000',
  },
}
SCSS
$custom: #cecd5b;
$custom-light: #dfdc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd5b",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 59.478,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82674,
    "c": 0.13634,
    "h": 108.6
  },
  "luminance": 0.5754
}

Semantic roles & 50–950 ramp

primary
#CECD5B
secondary
#40408D
accent
#4CDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CECD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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