#CECC49#CECC49

#CECC49 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.3% C 0.150 H 108.4°. Best body text is #000000 at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#CECC49
RGBrgb(206, 204, 73)
HSLhsl(59, 58%, 55%)
HSVhsv(59, 65%, 81%)
CMYKcmyk(0%, 1%, 64.6%, 19.2%)
CIE-LABlab(80.06, -15.19, 62.97)
CIE-LCHlch(80.06, 64.78, 103.56°)
OKLaboklab(82.29% -0.0474 0.1421)
OKLCHoklch(82.29% 0.15 108.4)
XYZxyz(48.2507, 56.7900, 14.7219)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECC49 #494BCE
analogous
#CE8A49 #CECC49 #8DCE49
triadic
#CECC49 #49CECC #CC49CE
tetradic
#CECC49 #49CE8A #494BCE #CE498D
square
#CECC49 #49CE8A #494BCE #CE498D
split-complementary
#CECC49 #498DCE #8A49CE
monochromatic
#7B7A21 #ACAA2E #CECC49 #DBDA79 #E8E7A9

Accessibility & contrast

On white

1.70
#CECC49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.36
#CECC49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECC49
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECC49#FFFFFF#000000##000000
##CECC491.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC437
Deuteranopia (green-blind)
#DEC951
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecc49;
/* rgb */ color: rgb(206, 204, 73);
/* oklch */ color: oklch(82.3% 0.150 108.4);
Tailwind
colors: {
  custom: {
    50: '#e0db82',
    500: '#cecc49',
    950: '#000000',
  },
}
SCSS
$custom: #cecc49;
$custom-light: #e0db82;
$custom-dark: #000000;
JSON
{
  "hex": "#cecc49",
  "rgb": {
    "r": 206,
    "g": 204,
    "b": 73
  },
  "hsl": {
    "h": 59.098,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.82288,
    "c": 0.1498,
    "h": 108.4
  },
  "luminance": 0.56789
}

Semantic roles & 50–950 ramp

primary
#CECC49
secondary
#383983
accent
#49E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECC49

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

Preview Lab → · Contrast checker → · Palette generator →

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