#CEC93C#CEC93C

#CEC93C is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.5% C 0.156 H 107.4°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CEC93C
RGBrgb(206, 201, 60)
HSLhsl(58, 60%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 2.4%, 70.9%, 19.2%)
CIE-LABlab(79.17, -14.38, 67.01)
CIE-LCHlch(79.17, 68.54, 102.11°)
OKLaboklab(81.55% -0.0464 0.1485)
OKLCHoklch(81.55% 0.156 107.4)
XYZxyz(47.1577, 55.2229, 12.4491)
Luminance0.5522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC93C #3C41CE
analogous
#CE803C #CEC93C #8ACE3C
triadic
#CEC93C #3CCEC9 #C93CCE
tetradic
#CEC93C #3CCE80 #3C41CE #CE3C8A
square
#CEC93C #3CCE80 #3C41CE #CE3C8A
split-complementary
#CEC93C #3C8ACE #803CCE
monochromatic
#73701D #A49F29 #CEC93C #DAD76D #E7E49E

Accessibility & contrast

On white

1.74
#CEC93C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CEC93C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC93C
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC93C#FFFFFF#000000##000000
##CEC93C1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC123
Deuteranopia (green-blind)
#DCC646
Tritanopia (blue-blind)
#DDBCAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec93c;
/* rgb */ color: rgb(206, 201, 60);
/* oklch */ color: oklch(81.5% 0.156 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1d97b',
    500: '#cec93c',
    950: '#000000',
  },
}
SCSS
$custom: #cec93c;
$custom-light: #e1d97b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec93c",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 60
  },
  "hsl": {
    "h": 57.945,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.81549,
    "c": 0.15557,
    "h": 107.4
  },
  "luminance": 0.55221
}

Semantic roles & 50–950 ramp

primary
#CEC93C
secondary
#33357C
accent
#4AE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC93C

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

Preview Lab → · Contrast checker → · Palette generator →

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