#CEC44A#CEC44A

#CEC44A is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.141 H 104.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CEC44A
RGBrgb(206, 196, 74)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 64%, 81%)
CMYKcmyk(0%, 4.9%, 64.1%, 19.2%)
CIE-LABlab(77.93, -11.10, 60.34)
CIE-LCHlch(77.93, 61.35, 100.42°)
OKLaboklab(80.6% -0.0357 0.1367)
OKLCHoklch(80.6% 0.141 104.6)
XYZxyz(46.4313, 53.0978, 14.2803)
Luminance0.5310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC44A #4A54CE
analogous
#CE824A #CEC44A #96CE4A
triadic
#CEC44A #4ACEC4 #C44ACE
tetradic
#CEC44A #4ACE82 #4A54CE #CE4A96
square
#CEC44A #4ACE82 #4A54CE #CE4A96
split-complementary
#CEC44A #4A96CE #824ACE
monochromatic
#7C7522 #ACA32F #CEC44A #DBD47A #E8E3AA

Accessibility & contrast

On white

1.81
#CEC44A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CEC44A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC44A
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC44A#FFFFFF#000000##000000
##CEC44A1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3B
Deuteranopia (green-blind)
#D8C351
Tritanopia (blue-blind)
#DDB7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec44a;
/* rgb */ color: rgb(206, 196, 74);
/* oklch */ color: oklch(80.6% 0.141 104.6);
Tailwind
colors: {
  custom: {
    50: '#e0d582',
    500: '#cec44a',
    950: '#000000',
  },
}
SCSS
$custom: #cec44a;
$custom-light: #e0d582;
$custom-dark: #000000;
JSON
{
  "hex": "#cec44a",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 74
  },
  "hsl": {
    "h": 55.455,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80595,
    "c": 0.14128,
    "h": 104.6
  },
  "luminance": 0.53096
}

Semantic roles & 50–950 ramp

primary
#CEC44A
secondary
#383E84
accent
#53E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC44A

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

Preview Lab → · Contrast checker → · Palette generator →

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