#CECD5F#CECD5F

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

Color values

HEX#CECD5F
RGBrgb(206, 205, 95)
HSLhsl(59, 53%, 59%)
HSVhsv(59, 54%, 81%)
CMYKcmyk(0%, 0.5%, 53.9%, 19.2%)
CIE-LABlab(80.52, -14.17, 53.98)
CIE-LCHlch(80.52, 55.81, 104.71°)
OKLaboklab(82.72% -0.0421 0.1259)
OKLCHoklch(82.72% 0.133 108.5)
XYZxyz(49.3518, 57.6120, 19.3448)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD5F #5F60CE
analogous
#CE965F #CECD5F #98CE5F
triadic
#CECD5F #5FCECD #CD5FCE
tetradic
#CECD5F #5FCE96 #5F60CE #CE5F98
square
#CECD5F #5FCE96 #5F60CE #CE5F98
split-complementary
#CECD5F #5F98CE #965FCE
monochromatic
#89882A #B8B638 #CECD5F #DCDC8E #EBEABD

Accessibility & contrast

On white

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

On black

12.52
#CECD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD5F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD5F#FFFFFF#000000##000000
##CECD5F1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC654
Deuteranopia (green-blind)
#DDCA65
Tritanopia (blue-blind)
#DBC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecd5f;
/* rgb */ color: rgb(206, 205, 95);
/* oklch */ color: oklch(82.7% 0.133 108.5);
Tailwind
colors: {
  custom: {
    50: '#dfdc90',
    500: '#cecd5f',
    950: '#000000',
  },
}
SCSS
$custom: #cecd5f;
$custom-light: #dfdc90;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd5f",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 59.459,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82718,
    "c": 0.13274,
    "h": 108.5
  },
  "luminance": 0.57611
}

Semantic roles & 50–950 ramp

primary
#CECD5F
secondary
#42428F
accent
#4DDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CECD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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