#CEC15C#CEC15C

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

Color values

HEX#CEC15C
RGBrgb(206, 193, 92)
HSLhsl(53, 54%, 58%)
HSVhsv(53, 55%, 81%)
CMYKcmyk(0%, 6.3%, 55.3%, 19.2%)
CIE-LABlab(77.30, -8.31, 51.67)
CIE-LCHlch(77.30, 52.34, 99.13°)
OKLaboklab(80.15% -0.0257 0.1206)
OKLCHoklch(80.15% 0.123 102)
XYZxyz(46.4569, 52.0361, 17.7200)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC15C #5C69CE
analogous
#CE885C #CEC15C #A2CE5C
triadic
#CEC15C #5CCEC1 #C15CCE
tetradic
#CEC15C #5CCE88 #5C69CE #CE5CA2
square
#CEC15C #5CCE88 #5C69CE #CE5CA2
split-complementary
#CEC15C #5CA2CE #885CCE
monochromatic
#877C29 #B6A837 #CEC15C #DCD38B #EAE5BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC15C#FFFFFF#000000##000000
##CEC15C1.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)
#D0BC52
Deuteranopia (green-blind)
#D4C261
Tritanopia (blue-blind)
#DCB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec15c;
/* rgb */ color: rgb(206, 193, 92);
/* oklch */ color: oklch(80.1% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd38d',
    500: '#cec15c',
    950: '#000000',
  },
}
SCSS
$custom: #cec15c;
$custom-light: #dfd38d;
$custom-dark: #000000;
JSON
{
  "hex": "#cec15c",
  "rgb": {
    "r": 206,
    "g": 193,
    "b": 92
  },
  "hsl": {
    "h": 53.158,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80147,
    "c": 0.12329,
    "h": 102
  },
  "luminance": 0.52034
}

Semantic roles & 50–950 ramp

primary
#CEC15C
secondary
#40498E
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC15C

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

Preview Lab → · Contrast checker → · Palette generator →

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