#CEC24E#CEC24E

#CEC24E is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.2% C 0.136 H 103.4°. Best body text is #000000 at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#CEC24E
RGBrgb(206, 194, 78)
HSLhsl(54, 57%, 56%)
HSVhsv(54, 62%, 81%)
CMYKcmyk(0%, 5.8%, 62.1%, 19.2%)
CIE-LABlab(77.43, -9.82, 58.11)
CIE-LCHlch(77.43, 58.94, 99.59°)
OKLaboklab(80.21% -0.0316 0.1326)
OKLCHoklch(80.21% 0.136 103.4)
XYZxyz(46.1222, 52.2572, 14.8634)
Luminance0.5225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC24E #4E5ACE
analogous
#CE824E #CEC24E #9ACE4E
triadic
#CEC24E #4ECEC2 #C24ECE
tetradic
#CEC24E #4ECE82 #4E5ACE #CE4E9A
square
#CEC24E #4ECE82 #4E5ACE #CE4E9A
split-complementary
#CEC24E #4E9ACE #824ECE
monochromatic
#7F7623 #AEA330 #CEC24E #DBD37E #E9E3AE

Accessibility & contrast

On white

1.83
#CEC24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.45
#CEC24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC24E
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC24E#FFFFFF#000000##000000
##CEC24E1.001.8311.4511.45
#FFFFFF1.831.0021.0021.00
#00000011.4521.001.001.00
##00000011.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC40
Deuteranopia (green-blind)
#D6C254
Tritanopia (blue-blind)
#DDB6A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec24e;
/* rgb */ color: rgb(206, 194, 78);
/* oklch */ color: oklch(80.2% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e0d484',
    500: '#cec24e',
    950: '#000000',
  },
}
SCSS
$custom: #cec24e;
$custom-light: #e0d484;
$custom-dark: #000000;
JSON
{
  "hex": "#cec24e",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 54.375,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80209,
    "c": 0.1363,
    "h": 103.4
  },
  "luminance": 0.52255
}

Semantic roles & 50–950 ramp

primary
#CEC24E
secondary
#3A4186
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC24E

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

Preview Lab → · Contrast checker → · Palette generator →

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