#CECD62#CECD62

#CECD62 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.130 H 108.4°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#CECD62
RGBrgb(206, 205, 98)
HSLhsl(59, 52%, 60%)
HSVhsv(59, 52%, 81%)
CMYKcmyk(0%, 0.5%, 52.4%, 19.2%)
CIE-LABlab(80.55, -13.93, 52.64)
CIE-LCHlch(80.55, 54.45, 104.82°)
OKLaboklab(82.75% -0.0411 0.1233)
OKLCHoklch(82.75% 0.13 108.4)
XYZxyz(49.4908, 57.6676, 20.0768)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECD62 #6263CE
analogous
#CE9762 #CECD62 #99CE62
triadic
#CECD62 #62CECD #CD62CE
tetradic
#CECD62 #62CE97 #6263CE #CE6299
square
#CECD62 #62CE97 #6263CE #CE6299
split-complementary
#CECD62 #6299CE #9762CE
monochromatic
#8A8A2B #B9B83A #CECD62 #DDDC91 #EBEBBF

Accessibility & contrast

On white

1.68
#CECD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#CECD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECD62
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECD62#FFFFFF#000000##000000
##CECD621.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC658
Deuteranopia (green-blind)
#DDCA68
Tritanopia (blue-blind)
#DBC2B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cecd62;
/* rgb */ color: rgb(206, 205, 98);
/* oklch */ color: oklch(82.8% 0.130 108.4);
Tailwind
colors: {
  custom: {
    50: '#dfdc92',
    500: '#cecd62',
    950: '#000000',
  },
}
SCSS
$custom: #cecd62;
$custom-light: #dfdc92;
$custom-dark: #000000;
JSON
{
  "hex": "#cecd62",
  "rgb": {
    "r": 206,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 59.444,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82753,
    "c": 0.12997,
    "h": 108.4
  },
  "luminance": 0.57666
}

Semantic roles & 50–950 ramp

primary
#CECD62
secondary
#434491
accent
#4DDC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CECD62

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

Preview Lab → · Contrast checker → · Palette generator →

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