#CEC049#CEC049

#CEC049 is a light, vivid yellow. Relative luminance 0.513; OKLCH L 79.7% C 0.138 H 102.6°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#CEC049
RGBrgb(206, 192, 73)
HSLhsl(54, 58%, 55%)
HSVhsv(54, 65%, 81%)
CMYKcmyk(0%, 6.8%, 64.6%, 19.2%)
CIE-LABlab(76.86, -9.11, 59.63)
CIE-LCHlch(76.86, 60.32, 98.69°)
OKLaboklab(79.74% -0.0302 0.135)
OKLCHoklch(79.74% 0.138 102.6)
XYZxyz(45.5076, 51.3039, 13.8076)
Luminance0.5130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC049 #4957CE
analogous
#CE7D49 #CEC049 #9ACE49
triadic
#CEC049 #49CEC0 #C049CE
tetradic
#CEC049 #49CE7D #4957CE #CE499A
square
#CEC049 #49CE7D #4957CE #CE499A
split-complementary
#CEC049 #499ACE #7D49CE
monochromatic
#7B7221 #AC9E2E #CEC049 #DBD179 #E8E1A9

Accessibility & contrast

On white

1.86
#CEC049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#CEC049 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC049
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC049#FFFFFF#000000##000000
##CEC0491.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA3A
Deuteranopia (green-blind)
#D5C150
Tritanopia (blue-blind)
#DDB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cec049;
/* rgb */ color: rgb(206, 192, 73);
/* oklch */ color: oklch(79.7% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#e0d281',
    500: '#cec049',
    950: '#000000',
  },
}
SCSS
$custom: #cec049;
$custom-light: #e0d281;
$custom-dark: #000000;
JSON
{
  "hex": "#cec049",
  "rgb": {
    "r": 206,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 53.684,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79742,
    "c": 0.13837,
    "h": 102.6
  },
  "luminance": 0.51302
}

Semantic roles & 50–950 ramp

primary
#CEC049
secondary
#384083
accent
#57E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC049

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

Preview Lab → · Contrast checker → · Palette generator →

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