#CEC549#CEC549

#CEC549 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.143 H 105.2°. Best body text is #000000 at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#CEC549
RGBrgb(206, 197, 73)
HSLhsl(56, 58%, 55%)
HSVhsv(56, 65%, 81%)
CMYKcmyk(0%, 4.4%, 64.6%, 19.2%)
CIE-LABlab(78.19, -11.66, 61.02)
CIE-LCHlch(78.19, 62.13, 100.82°)
OKLaboklab(80.8% -0.0374 0.138)
OKLCHoklch(80.8% 0.143 105.2)
XYZxyz(46.6242, 53.5370, 14.1798)
Luminance0.5353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC549 #4952CE
analogous
#CE8349 #CEC549 #94CE49
triadic
#CEC549 #49CEC5 #C549CE
tetradic
#CEC549 #49CE83 #4952CE #CE4994
square
#CEC549 #49CE83 #4952CE #CE4994
split-complementary
#CEC549 #4994CE #8349CE
monochromatic
#7B7521 #ACA32E #CEC549 #DBD479 #E8E4A9

Accessibility & contrast

On white

1.79
#CEC549 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.71
#CEC549 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC549
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC549#FFFFFF#000000##000000
##CEC5491.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE39
Deuteranopia (green-blind)
#D9C450
Tritanopia (blue-blind)
#DDB8AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec549;
/* rgb */ color: rgb(206, 197, 73);
/* oklch */ color: oklch(80.8% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#e0d682',
    500: '#cec549',
    950: '#000000',
  },
}
SCSS
$custom: #cec549;
$custom-light: #e0d682;
$custom-dark: #000000;
JSON
{
  "hex": "#cec549",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 73
  },
  "hsl": {
    "h": 55.94,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80798,
    "c": 0.14297,
    "h": 105.2
  },
  "luminance": 0.53535
}

Semantic roles & 50–950 ramp

primary
#CEC549
secondary
#383D83
accent
#51E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC549

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

Preview Lab → · Contrast checker → · Palette generator →

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