#CEC24C#CEC24C

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

Color values

HEX#CEC24C
RGBrgb(206, 194, 76)
HSLhsl(54, 57%, 55%)
HSVhsv(54, 63%, 81%)
CMYKcmyk(0%, 5.8%, 63.1%, 19.2%)
CIE-LABlab(77.42, -9.95, 58.95)
CIE-LCHlch(77.42, 59.79, 99.58°)
OKLaboklab(80.19% -0.0322 0.1341)
OKLCHoklch(80.19% 0.138 103.5)
XYZxyz(46.0516, 52.2289, 14.4915)
Luminance0.5223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC24C #4C58CE
analogous
#CE814C #CEC24C #99CE4C
triadic
#CEC24C #4CCEC2 #C24CCE
tetradic
#CEC24C #4CCE81 #4C58CE #CE4C99
square
#CEC24C #4CCE81 #4C58CE #CE4C99
split-complementary
#CEC24C #4C99CE #814CCE
monochromatic
#7D7522 #ADA22F #CEC24C #DBD27C #E8E3AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC24C#FFFFFF#000000##000000
##CEC24C1.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)
#D2BC3E
Deuteranopia (green-blind)
#D6C253
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec24c;
/* rgb */ color: rgb(206, 194, 76);
/* oklch */ color: oklch(80.2% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0d483',
    500: '#cec24c',
    950: '#000000',
  },
}
SCSS
$custom: #cec24c;
$custom-light: #e0d483;
$custom-dark: #000000;
JSON
{
  "hex": "#cec24c",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 76
  },
  "hsl": {
    "h": 54.462,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.8019,
    "c": 0.13788,
    "h": 103.5
  },
  "luminance": 0.52227
}

Semantic roles & 50–950 ramp

primary
#CEC24C
secondary
#394085
accent
#56E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC24C

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

Preview Lab → · Contrast checker → · Palette generator →

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