#CEC849#CEC849

#CEC849 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.146 H 106.6°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CEC849
RGBrgb(206, 200, 73)
HSLhsl(57, 58%, 55%)
HSVhsv(57, 65%, 81%)
CMYKcmyk(0%, 2.9%, 64.6%, 19.2%)
CIE-LABlab(78.99, -13.18, 61.86)
CIE-LCHlch(78.99, 63.25, 102.03°)
OKLaboklab(81.44% -0.0417 0.1398)
OKLCHoklch(81.44% 0.146 106.6)
XYZxyz(47.3122, 54.9130, 14.4091)
Luminance0.5491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC849 #494FCE
analogous
#CE8549 #CEC849 #92CE49
triadic
#CEC849 #49CEC8 #C849CE
tetradic
#CEC849 #49CE85 #494FCE #CE4992
square
#CEC849 #49CE85 #494FCE #CE4992
split-complementary
#CEC849 #4992CE #8549CE
monochromatic
#7B7721 #ACA62E #CEC849 #DBD779 #E8E5A9

Accessibility & contrast

On white

1.75
#CEC849 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CEC849 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC849
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC849#FFFFFF#000000##000000
##CEC8491.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C138
Deuteranopia (green-blind)
#DBC651
Tritanopia (blue-blind)
#DCBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec849;
/* rgb */ color: rgb(206, 200, 73);
/* oklch */ color: oklch(81.4% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#e0d882',
    500: '#cec849',
    950: '#000000',
  },
}
SCSS
$custom: #cec849;
$custom-light: #e0d882;
$custom-dark: #000000;
JSON
{
  "hex": "#cec849",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 73
  },
  "hsl": {
    "h": 57.293,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81435,
    "c": 0.14585,
    "h": 106.6
  },
  "luminance": 0.54911
}

Semantic roles & 50–950 ramp

primary
#CEC849
secondary
#383B83
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC849

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

Preview Lab → · Contrast checker → · Palette generator →

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