#CEC44C#CEC44C

#CEC44C is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.140 H 104.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#CEC44C
RGBrgb(206, 196, 76)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 63%, 81%)
CMYKcmyk(0%, 4.9%, 63.1%, 19.2%)
CIE-LABlab(77.95, -10.97, 59.52)
CIE-LCHlch(77.95, 60.52, 100.45°)
OKLaboklab(80.61% -0.0351 0.1353)
OKLCHoklch(80.61% 0.14 104.6)
XYZxyz(46.4997, 53.1251, 14.6409)
Luminance0.5312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC44C #4C56CE
analogous
#CE834C #CEC44C #97CE4C
triadic
#CEC44C #4CCEC4 #C44CCE
tetradic
#CEC44C #4CCE83 #4C56CE #CE4C97
square
#CEC44C #4CCE83 #4C56CE #CE4C97
split-complementary
#CEC44C #4C97CE #834CCE
monochromatic
#7D7622 #ADA42F #CEC44C #DBD47C #E8E4AC

Accessibility & contrast

On white

1.81
#CEC44C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#CEC44C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC44C
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC44C#FFFFFF#000000##000000
##CEC44C1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3D
Deuteranopia (green-blind)
#D8C353
Tritanopia (blue-blind)
#DDB7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec44c;
/* rgb */ color: rgb(206, 196, 76);
/* oklch */ color: oklch(80.6% 0.140 104.6);
Tailwind
colors: {
  custom: {
    50: '#e0d583',
    500: '#cec44c',
    950: '#000000',
  },
}
SCSS
$custom: #cec44c;
$custom-light: #e0d583;
$custom-dark: #000000;
JSON
{
  "hex": "#cec44c",
  "rgb": {
    "r": 206,
    "g": 196,
    "b": 76
  },
  "hsl": {
    "h": 55.385,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.80613,
    "c": 0.13974,
    "h": 104.6
  },
  "luminance": 0.53123
}

Semantic roles & 50–950 ramp

primary
#CEC44C
secondary
#393F85
accent
#53E048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC44C

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

Preview Lab → · Contrast checker → · Palette generator →

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