#CEC349#CEC349

#CEC349 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.141 H 104.2°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CEC349
RGBrgb(206, 195, 73)
HSLhsl(55, 58%, 55%)
HSVhsv(55, 65%, 81%)
CMYKcmyk(0%, 5.3%, 64.6%, 19.2%)
CIE-LABlab(77.66, -10.65, 60.47)
CIE-LCHlch(77.66, 61.40, 99.99°)
OKLaboklab(80.38% -0.0345 0.1368)
OKLCHoklch(80.38% 0.141 104.2)
XYZxyz(46.1731, 52.6348, 14.0294)
Luminance0.5263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC349 #4954CE
analogous
#CE8149 #CEC349 #96CE49
triadic
#CEC349 #49CEC3 #C349CE
tetradic
#CEC349 #49CE81 #4954CE #CE4996
square
#CEC349 #49CE81 #4954CE #CE4996
split-complementary
#CEC349 #4996CE #8149CE
monochromatic
#7B7421 #ACA12E #CEC349 #DBD379 #E8E3A9

Accessibility & contrast

On white

1.82
#CEC349 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.53
#CEC349 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC349
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC349#FFFFFF#000000##000000
##CEC3491.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD39
Deuteranopia (green-blind)
#D7C350
Tritanopia (blue-blind)
#DDB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec349;
/* rgb */ color: rgb(206, 195, 73);
/* oklch */ color: oklch(80.4% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#e0d482',
    500: '#cec349',
    950: '#000000',
  },
}
SCSS
$custom: #cec349;
$custom-light: #e0d482;
$custom-dark: #000000;
JSON
{
  "hex": "#cec349",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 73
  },
  "hsl": {
    "h": 55.038,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80375,
    "c": 0.1411,
    "h": 104.2
  },
  "luminance": 0.52633
}

Semantic roles & 50–950 ramp

primary
#CEC349
secondary
#383E83
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC349

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

Preview Lab → · Contrast checker → · Palette generator →

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