#CDCE51#CDCE51

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

Color values

HEX#CDCE51
RGBrgb(205, 206, 81)
HSLhsl(60, 56%, 56%)
HSVhsv(60, 61%, 81%)
CMYKcmyk(0.5%, 0%, 60.7%, 19.2%)
CIE-LABlab(80.58, -16.10, 60.20)
CIE-LCHlch(80.58, 62.32, 104.98°)
OKLaboklab(82.7% -0.0491 0.1374)
OKLCHoklch(82.7% 0.146 109.6)
XYZxyz(48.7348, 57.7171, 16.3563)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE51 #5251CE
analogous
#CE9151 #CDCE51 #8FCE51
triadic
#CDCE51 #51CDCE #CE51CD
tetradic
#CDCE51 #51CE91 #5251CE #CE518F
square
#CDCE51 #51CE91 #5251CE #CE518F
split-complementary
#CDCE51 #518FCE #9151CE
monochromatic
#808024 #AFB032 #CDCE51 #DBDB81 #E8E9B1

Accessibility & contrast

On white

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

On black

12.54
#CDCE51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCE51
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCE51#FFFFFF#000000##000000
##CDCE511.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdce51;
/* rgb */ color: rgb(205, 206, 81);
/* oklch */ color: oklch(82.7% 0.146 109.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc87',
    500: '#cdce51',
    950: '#000000',
  },
}
SCSS
$custom: #cdce51;
$custom-light: #dfdc87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce51",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 81
  },
  "hsl": {
    "h": 60.48,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82704,
    "c": 0.14593,
    "h": 109.6
  },
  "luminance": 0.57716
}

Semantic roles & 50–950 ramp

primary
#CDCE51
secondary
#3C3B88
accent
#48DF4A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDCE51

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

Preview Lab → · Contrast checker → · Palette generator →

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