#CECD3A#CECD3A

#CECD3A is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.4% C 0.161 H 109.1°. Best body text is #000000 at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#CECD3A
RGBrgb(206, 205, 58)
HSLhsl(60, 60%, 52%)
HSVhsv(60, 72%, 81%)
CMYKcmyk(0%, 0.5%, 71.8%, 19.2%)
CIE-LABlab(80.23, -16.48, 68.74)
CIE-LCHlch(80.23, 70.68, 103.48°)
OKLaboklab(82.39% -0.0525 0.1518)
OKLCHoklch(82.39% 0.161 109.1)
XYZxyz(48.0504, 57.0914, 12.4908)
Luminance0.5709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD3A #3A3BCE
analogous
#CE833A #CECD3A #85CE3A
triadic
#CECD3A #3ACECD #CD3ACE
tetradic
#CECD3A #3ACE83 #3A3BCE #CE3A85
square
#CECD3A #3ACE83 #3A3BCE #CE3A85
split-complementary
#CECD3A #3A85CE #833ACE
monochromatic
#71711C #A2A228 #CECD3A #DAD96B #E6E69C

Accessibility & contrast

On white

1.69
#CECD3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.42
#CECD3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD3A
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD3A#FFFFFF#000000##000000
##CECD3A1.001.6912.4212.42
#FFFFFF1.691.0021.0021.00
#00000012.4221.001.001.00
##00000012.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC41E
Deuteranopia (green-blind)
#E0C945
Tritanopia (blue-blind)
#DDC0B1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cecd3a;
/* rgb */ color: rgb(206, 205, 58);
/* oklch */ color: oklch(82.4% 0.161 109.1);
Tailwind
colors: {
  custom: {
    50: '#e1dc7a',
    500: '#cecd3a',
    950: '#000000',
  },
}
SCSS
$custom: #cecd3a;
$custom-light: #e1dc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd3a",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 58
  },
  "hsl": {
    "h": 59.595,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.82392,
    "c": 0.16059,
    "h": 109.1
  },
  "luminance": 0.5709
}

Semantic roles & 50–950 ramp

primary
#CECD3A
secondary
#32327A
accent
#46E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CECD3A

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

Preview Lab → · Contrast checker → · Palette generator →

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