#CDCE52#CDCE52

#CDCE52 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.145 H 109.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#CDCE52
RGBrgb(205, 206, 82)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 60%, 81%)
CMYKcmyk(0.5%, 0%, 60.2%, 19.2%)
CIE-LABlab(80.59, -16.04, 59.79)
CIE-LCHlch(80.59, 61.90, 105.02°)
OKLaboklab(82.71% -0.0487 0.1367)
OKLCHoklch(82.71% 0.145 109.6)
XYZxyz(48.7726, 57.7322, 16.5552)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE52 #5352CE
analogous
#CE9152 #CDCE52 #8FCE52
triadic
#CDCE52 #52CDCE #CE52CD
tetradic
#CDCE52 #52CE91 #5352CE #CE528F
square
#CDCE52 #52CE91 #5352CE #CE528F
split-complementary
#CDCE52 #528FCE #9152CE
monochromatic
#808125 #B0B132 #CDCE52 #DBDC82 #E9E9B1

Accessibility & contrast

On white

1.67
#CDCE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#CDCE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE52
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE52#FFFFFF#000000##000000
##CDCE521.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#DAC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce52;
/* rgb */ color: rgb(205, 206, 82);
/* oklch */ color: oklch(82.7% 0.145 109.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc88',
    500: '#cdce52',
    950: '#000000',
  },
}
SCSS
$custom: #cdce52;
$custom-light: #dfdc88;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce52",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 60.484,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82713,
    "c": 0.14513,
    "h": 109.6
  },
  "luminance": 0.57731
}

Semantic roles & 50–950 ramp

primary
#CDCE52
secondary
#3C3C88
accent
#49DF4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCE52

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

Preview Lab → · Contrast checker → · Palette generator →

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