#CEC24B#CEC24B

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

Color values

HEX#CEC24B
RGBrgb(206, 194, 75)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 64%, 81%)
CMYKcmyk(0%, 5.8%, 63.6%, 19.2%)
CIE-LABlab(77.41, -10.01, 59.37)
CIE-LCHlch(77.41, 60.20, 99.57°)
OKLaboklab(80.18% -0.0325 0.1348)
OKLCHoklch(80.18% 0.139 103.6)
XYZxyz(46.0171, 52.2151, 14.3098)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC24B #4B57CE
analogous
#CE814B #CEC24B #98CE4B
triadic
#CEC24B #4BCEC2 #C24BCE
tetradic
#CEC24B #4BCE81 #4B57CE #CE4B98
square
#CEC24B #4BCE81 #4B57CE #CE4B98
split-complementary
#CEC24B #4B98CE #814BCE
monochromatic
#7D7422 #ADA12F #CEC24B #DBD27B #E8E3AB

Accessibility & contrast

On white

1.84
#CEC24B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CEC24B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC24B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC24B#FFFFFF#000000##000000
##CEC24B1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC3C
Deuteranopia (green-blind)
#D6C252
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec24b;
/* rgb */ color: rgb(206, 194, 75);
/* oklch */ color: oklch(80.2% 0.139 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d483',
    500: '#cec24b',
    950: '#000000',
  },
}
SCSS
$custom: #cec24b;
$custom-light: #e0d483;
$custom-dark: #000000;
JSON
{
  "hex": "#cec24b",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 75
  },
  "hsl": {
    "h": 54.504,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80181,
    "c": 0.13865,
    "h": 103.6
  },
  "luminance": 0.52213
}

Semantic roles & 50–950 ramp

primary
#CEC24B
secondary
#394084
accent
#55E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC24B

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

Preview Lab → · Contrast checker → · Palette generator →

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