#CEC249#CEC249

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

Color values

HEX#CEC249
RGBrgb(206, 194, 73)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 65%, 81%)
CMYKcmyk(0%, 5.8%, 64.6%, 19.2%)
CIE-LABlab(77.39, -10.14, 60.19)
CIE-LCHlch(77.39, 61.03, 99.56°)
OKLaboklab(80.16% -0.0331 0.1362)
OKLCHoklch(80.16% 0.14 103.6)
XYZxyz(45.9498, 52.1882, 13.9550)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC249 #4955CE
analogous
#CE7F49 #CEC249 #98CE49
triadic
#CEC249 #49CEC2 #C249CE
tetradic
#CEC249 #49CE7F #4955CE #CE4998
square
#CEC249 #49CE7F #4955CE #CE4998
split-complementary
#CEC249 #4998CE #7F49CE
monochromatic
#7B7321 #ACA02E #CEC249 #DBD279 #E8E2A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC249#FFFFFF#000000##000000
##CEC2491.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)
#D3BC3A
Deuteranopia (green-blind)
#D6C250
Tritanopia (blue-blind)
#DDB5A9
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cec249;
/* rgb */ color: rgb(206, 194, 73);
/* oklch */ color: oklch(80.2% 0.140 103.6);
Tailwind
colors: {
  custom: {
    50: '#e0d482',
    500: '#cec249',
    950: '#000000',
  },
}
SCSS
$custom: #cec249;
$custom-light: #e0d482;
$custom-dark: #000000;
JSON
{
  "hex": "#cec249",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 73
  },
  "hsl": {
    "h": 54.586,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80163,
    "c": 0.14018,
    "h": 103.6
  },
  "luminance": 0.52186
}

Semantic roles & 50–950 ramp

primary
#CEC249
secondary
#383F83
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC249

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

Preview Lab → · Contrast checker → · Palette generator →

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