#CEC53D#CEC53D

#CEC53D is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.151 H 105.5°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CEC53D
RGBrgb(206, 197, 61)
HSLhsl(56, 60%, 52%)
HSVhsv(56, 70%, 81%)
CMYKcmyk(0%, 4.4%, 70.4%, 19.2%)
CIE-LABlab(78.11, -12.32, 65.62)
CIE-LCHlch(78.11, 66.76, 100.63°)
OKLaboklab(80.7% -0.0405 0.1457)
OKLCHoklch(80.7% 0.151 105.5)
XYZxyz(46.2640, 53.3930, 12.2829)
Luminance0.5339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC53D #3D46CE
analogous
#CE7D3D #CEC53D #8ECE3D
triadic
#CEC53D #3DCEC5 #C53DCE
tetradic
#CEC53D #3DCE7D #3D46CE #CE3D8E
square
#CEC53D #3DCE7D #3D46CE #CE3D8E
split-complementary
#CEC53D #3D8ECE #7D3DCE
monochromatic
#736E1D #A49D29 #CEC53D #DAD46E #E7E29F

Accessibility & contrast

On white

1.80
#CEC53D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CEC53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC53D
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC53D#FFFFFF#000000##000000
##CEC53D1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BE26
Deuteranopia (green-blind)
#D9C446
Tritanopia (blue-blind)
#DDB8AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cec53d;
/* rgb */ color: rgb(206, 197, 61);
/* oklch */ color: oklch(80.7% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d67b',
    500: '#cec53d',
    950: '#000000',
  },
}
SCSS
$custom: #cec53d;
$custom-light: #e1d67b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec53d",
  "rgb": {
    "r": 206,
    "g": 197,
    "b": 61
  },
  "hsl": {
    "h": 56.276,
    "s": 59.671,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80704,
    "c": 0.15123,
    "h": 105.5
  },
  "luminance": 0.53391
}

Semantic roles & 50–950 ramp

primary
#CEC53D
secondary
#33387C
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC53D

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

Preview Lab → · Contrast checker → · Palette generator →

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