#CEC15D#CEC15D

#CEC15D is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.122 H 102.0°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#CEC15D
RGBrgb(206, 193, 93)
HSLhsl(53, 54%, 59%)
HSVhsv(53, 55%, 81%)
CMYKcmyk(0%, 6.3%, 54.9%, 19.2%)
CIE-LABlab(77.31, -8.23, 51.22)
CIE-LCHlch(77.31, 51.87, 99.13°)
OKLaboklab(80.16% -0.0254 0.1197)
OKLCHoklch(80.16% 0.122 102)
XYZxyz(46.5009, 52.0537, 17.9517)
Luminance0.5205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC15D #5D6ACE
analogous
#CE885D #CEC15D #A2CE5D
triadic
#CEC15D #5DCEC1 #C15DCE
tetradic
#CEC15D #5DCE88 #5D6ACE #CE5DA2
square
#CEC15D #5DCE88 #5D6ACE #CE5DA2
split-complementary
#CEC15D #5DA2CE #885DCE
monochromatic
#887D29 #B7A837 #CEC15D #DCD38C #EAE5BB

Accessibility & contrast

On white

1.84
#CEC15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.41
#CEC15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC15D
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC15D#FFFFFF#000000##000000
##CEC15D1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC53
Deuteranopia (green-blind)
#D4C262
Tritanopia (blue-blind)
#DCB5AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec15d;
/* rgb */ color: rgb(206, 193, 93);
/* oklch */ color: oklch(80.2% 0.122 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd38e',
    500: '#cec15d',
    950: '#000000',
  },
}
SCSS
$custom: #cec15d;
$custom-light: #dfd38e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec15d",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 93
  },
  "hsl": {
    "h": 53.097,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80159,
    "c": 0.12236,
    "h": 102
  },
  "luminance": 0.52052
}

Semantic roles & 50–950 ramp

primary
#CEC15D
secondary
#414A8E
accent
#5CDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CEC15D

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

Preview Lab → · Contrast checker → · Palette generator →

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