#CEC15E#CEC15E

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

Color values

HEX#CEC15E
RGBrgb(206, 193, 94)
HSLhsl(53, 53%, 59%)
HSVhsv(53, 54%, 81%)
CMYKcmyk(0%, 6.3%, 54.4%, 19.2%)
CIE-LABlab(77.32, -8.15, 50.76)
CIE-LCHlch(77.32, 51.41, 99.12°)
OKLaboklab(80.17% -0.025 0.1188)
OKLCHoklch(80.17% 0.121 101.9)
XYZxyz(46.5455, 52.0716, 18.1865)
Luminance0.5207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC15E #5E6BCE
analogous
#CE895E #CEC15E #A3CE5E
triadic
#CEC15E #5ECEC1 #C15ECE
tetradic
#CEC15E #5ECE89 #5E6BCE #CE5EA3
square
#CEC15E #5ECE89 #5E6BCE #CE5EA3
split-complementary
#CEC15E #5EA3CE #895ECE
monochromatic
#887D29 #B7A838 #CEC15E #DCD38D #EBE5BC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC15E#FFFFFF#000000##000000
##CEC15E1.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)
#D0BC54
Deuteranopia (green-blind)
#D4C263
Tritanopia (blue-blind)
#DCB5AB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec15e;
/* rgb */ color: rgb(206, 193, 94);
/* oklch */ color: oklch(80.2% 0.121 101.9);
Tailwind
colors: {
  custom: {
    50: '#dfd38e',
    500: '#cec15e',
    950: '#000000',
  },
}
SCSS
$custom: #cec15e;
$custom-light: #dfd38e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec15e",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 94
  },
  "hsl": {
    "h": 53.036,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80171,
    "c": 0.12143,
    "h": 101.9
  },
  "luminance": 0.5207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC15E

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

Preview Lab → · Contrast checker → · Palette generator →

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