#CDCE54#CDCE54

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

Color values

HEX#CDCE54
RGBrgb(205, 206, 84)
HSLhsl(60, 55%, 57%)
HSVhsv(60, 59%, 81%)
CMYKcmyk(0.5%, 0%, 59.2%, 19.2%)
CIE-LABlab(80.61, -15.90, 58.95)
CIE-LCHlch(80.61, 61.06, 105.10°)
OKLaboklab(82.73% -0.0481 0.1352)
OKLCHoklch(82.73% 0.144 109.6)
XYZxyz(48.8498, 57.7631, 16.9619)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCE54 #5554CE
analogous
#CE9254 #CDCE54 #90CE54
triadic
#CDCE54 #54CDCE #CE54CD
tetradic
#CDCE54 #54CE92 #5554CE #CE5490
square
#CDCE54 #54CE92 #5554CE #CE5490
split-complementary
#CDCE54 #5490CE #9254CE
monochromatic
#828225 #B1B233 #CDCE54 #DBDC84 #E9E9B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDCE54#FFFFFF#000000##000000
##CDCE541.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)
#DDC646
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#DAC2B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdce54;
/* rgb */ color: rgb(205, 206, 84);
/* oklch */ color: oklch(82.7% 0.144 109.6);
Tailwind
colors: {
  custom: {
    50: '#dfdc89',
    500: '#cdce54',
    950: '#000000',
  },
}
SCSS
$custom: #cdce54;
$custom-light: #dfdc89;
$custom-dark: #000000;
JSON
{
  "hex": "#cdce54",
  "rgb": {
    "r": 205,
    "g": 206,
    "b": 84
  },
  "hsl": {
    "h": 60.492,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82733,
    "c": 0.14351,
    "h": 109.6
  },
  "luminance": 0.57762
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDCE54

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

Preview Lab → · Contrast checker → · Palette generator →

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