#CEC94A#CEC94A

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

Color values

HEX#CEC94A
RGBrgb(206, 201, 74)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 64%, 81%)
CMYKcmyk(0%, 2.4%, 64.1%, 19.2%)
CIE-LABlab(79.27, -13.63, 61.74)
CIE-LCHlch(79.27, 63.22, 102.45°)
OKLaboklab(81.66% -0.0428 0.1397)
OKLCHoklch(81.66% 0.146 107.1)
XYZxyz(47.5779, 55.3910, 14.6626)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC94A #4A4FCE
analogous
#CE874A #CEC94A #91CE4A
triadic
#CEC94A #4ACEC9 #C94ACE
tetradic
#CEC94A #4ACE87 #4A4FCE #CE4A91
square
#CEC94A #4ACE87 #4A4FCE #CE4A91
split-complementary
#CEC94A #4A91CE #874ACE
monochromatic
#7C7922 #ACA72F #CEC94A #DBD77A #E8E6AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC94A#FFFFFF#000000##000000
##CEC94A1.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)
#D9C239
Deuteranopia (green-blind)
#DCC752
Tritanopia (blue-blind)
#DCBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec94a;
/* rgb */ color: rgb(206, 201, 74);
/* oklch */ color: oklch(81.7% 0.146 107.1);
Tailwind
colors: {
  custom: {
    50: '#e0d983',
    500: '#cec94a',
    950: '#000000',
  },
}
SCSS
$custom: #cec94a;
$custom-light: #e0d983;
$custom-dark: #000000;
JSON
{
  "hex": "#cec94a",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 74
  },
  "hsl": {
    "h": 57.727,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81656,
    "c": 0.14609,
    "h": 107.1
  },
  "luminance": 0.5539
}

Semantic roles & 50–950 ramp

primary
#CEC94A
secondary
#383B84
accent
#4DE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC94A

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

Preview Lab → · Contrast checker → · Palette generator →

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