#CEC94F#CEC94F

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

Color values

HEX#CEC94F
RGBrgb(206, 201, 79)
HSLhsl(58, 56%, 56%)
HSVhsv(58, 62%, 81%)
CMYKcmyk(0%, 2.4%, 61.7%, 19.2%)
CIE-LABlab(79.31, -13.31, 59.70)
CIE-LCHlch(79.31, 61.17, 102.57°)
OKLaboklab(81.7% -0.0414 0.1361)
OKLCHoklch(81.7% 0.142 106.9)
XYZxyz(47.7531, 55.4611, 15.5852)
Luminance0.5546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC94F #4F54CE
analogous
#CE894F #CEC94F #93CE4F
triadic
#CEC94F #4FCEC9 #C94FCE
tetradic
#CEC94F #4FCE89 #4F54CE #CE4F93
square
#CEC94F #4FCE89 #4F54CE #CE4F93
split-complementary
#CEC94F #4F93CE #894FCE
monochromatic
#7F7C23 #AFAA31 #CEC94F #DBD87F #E9E6AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC94F#FFFFFF#000000##000000
##CEC94F1.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)
#D9C240
Deuteranopia (green-blind)
#DBC756
Tritanopia (blue-blind)
#DCBDAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec94f;
/* rgb */ color: rgb(206, 201, 79);
/* oklch */ color: oklch(81.7% 0.142 106.9);
Tailwind
colors: {
  custom: {
    50: '#e0d986',
    500: '#cec94f',
    950: '#000000',
  },
}
SCSS
$custom: #cec94f;
$custom-light: #e0d986;
$custom-dark: #000000;
JSON
{
  "hex": "#cec94f",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 79
  },
  "hsl": {
    "h": 57.638,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81701,
    "c": 0.14224,
    "h": 106.9
  },
  "luminance": 0.5546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC94F

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

Preview Lab → · Contrast checker → · Palette generator →

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