#CEC94D#CEC94D

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

Color values

HEX#CEC94D
RGBrgb(206, 201, 77)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 63%, 81%)
CMYKcmyk(0%, 2.4%, 62.6%, 19.2%)
CIE-LABlab(79.29, -13.44, 60.52)
CIE-LCHlch(79.29, 62.00, 102.52°)
OKLaboklab(81.68% -0.042 0.1375)
OKLCHoklch(81.68% 0.144 107)
XYZxyz(47.6814, 55.4324, 15.2076)
Luminance0.5543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC94D #4D52CE
analogous
#CE884D #CEC94D #93CE4D
triadic
#CEC94D #4DCEC9 #C94DCE
tetradic
#CEC94D #4DCE88 #4D52CE #CE4D93
square
#CEC94D #4DCE88 #4D52CE #CE4D93
split-complementary
#CEC94D #4D93CE #884DCE
monochromatic
#7E7A23 #AEA930 #CEC94D #DBD87D #E8E6AD

Accessibility & contrast

On white

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

On black

12.09
#CEC94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC94D
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC94D#FFFFFF#000000##000000
##CEC94D1.001.7412.0912.09
#FFFFFF1.741.0021.0021.00
#00000012.0921.001.001.00
##00000012.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec94d;
/* rgb */ color: rgb(206, 201, 77);
/* oklch */ color: oklch(81.7% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#e0d984',
    500: '#cec94d',
    950: '#000000',
  },
}
SCSS
$custom: #cec94d;
$custom-light: #e0d984;
$custom-dark: #000000;
JSON
{
  "hex": "#cec94d",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 57.674,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81683,
    "c": 0.14381,
    "h": 107
  },
  "luminance": 0.55431
}

Semantic roles & 50–950 ramp

primary
#CEC94D
secondary
#3A3D86
accent
#4EE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC94D

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

Preview Lab → · Contrast checker → · Palette generator →

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