#CEC94C#CEC94C

#CEC94C is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.145 H 107.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CEC94C
RGBrgb(206, 201, 76)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 63%, 81%)
CMYKcmyk(0%, 2.4%, 63.1%, 19.2%)
CIE-LABlab(79.28, -13.50, 60.93)
CIE-LCHlch(79.28, 62.41, 102.50°)
OKLaboklab(81.67% -0.0423 0.1383)
OKLCHoklch(81.67% 0.145 107)
XYZxyz(47.6464, 55.4184, 15.0231)
Luminance0.5542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC94C #4C51CE
analogous
#CE884C #CEC94C #92CE4C
triadic
#CEC94C #4CCEC9 #C94CCE
tetradic
#CEC94C #4CCE88 #4C51CE #CE4C92
square
#CEC94C #4CCE88 #4C51CE #CE4C92
split-complementary
#CEC94C #4C92CE #884CCE
monochromatic
#7D7A22 #ADA92F #CEC94C #DBD77C #E8E6AC

Accessibility & contrast

On white

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

On black

12.08
#CEC94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC94C
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC94C#FFFFFF#000000##000000
##CEC94C1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23C
Deuteranopia (green-blind)
#DCC754
Tritanopia (blue-blind)
#DCBDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec94c;
/* rgb */ color: rgb(206, 201, 76);
/* oklch */ color: oklch(81.7% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#e0d984',
    500: '#cec94c',
    950: '#000000',
  },
}
SCSS
$custom: #cec94c;
$custom-light: #e0d984;
$custom-dark: #000000;
JSON
{
  "hex": "#cec94c",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 76
  },
  "hsl": {
    "h": 57.692,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81674,
    "c": 0.14457,
    "h": 107
  },
  "luminance": 0.55417
}

Semantic roles & 50–950 ramp

primary
#CEC94C
secondary
#393C85
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC94C

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

Preview Lab → · Contrast checker → · Palette generator →

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