#CDDA52#CDDA52

#CDDA52 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.3% C 0.158 H 114.4°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#CDDA52
RGBrgb(205, 218, 82)
HSLhsl(66, 65%, 59%)
HSVhsv(66, 62%, 85%)
CMYKcmyk(6%, 0%, 62.4%, 14.5%)
CIE-LABlab(83.83, -21.94, 63.26)
CIE-LCHlch(83.83, 66.96, 109.13°)
OKLaboklab(85.3% -0.0654 0.1441)
OKLCHoklch(85.3% 0.158 114.4)
XYZxyz(51.7725, 63.7320, 17.5552)
Luminance0.6373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDA52 #5F52DA
analogous
#DAA352 #CDDA52 #89DA52
triadic
#CDDA52 #52CDDA #DA52CD
tetradic
#CDDA52 #52DAA3 #5F52DA #DA5289
square
#CDDA52 #52DAA3 #5F52DA #DA5289
split-complementary
#CDDA52 #5289DA #A352DA
monochromatic
#87921F #B6C52A #CDDA52 #DCE584 #EAF0B7

Accessibility & contrast

On white

1.53
#CDDA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#CDDA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDA52
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDA52#FFFFFF#000000##000000
##CDDA521.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#DACEBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdda52;
/* rgb */ color: rgb(205, 218, 82);
/* oklch */ color: oklch(85.3% 0.158 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe589',
    500: '#cdda52',
    950: '#000000',
  },
}
SCSS
$custom: #cdda52;
$custom-light: #dfe589;
$custom-dark: #000000;
JSON
{
  "hex": "#cdda52",
  "rgb": {
    "r": 205,
    "g": 218,
    "b": 82
  },
  "hsl": {
    "h": 65.735,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85301,
    "c": 0.1582,
    "h": 114.4
  },
  "luminance": 0.63731
}

Semantic roles & 50–950 ramp

primary
#CDDA52
secondary
#423997
accent
#40E850
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDDA52

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

Preview Lab → · Contrast checker → · Palette generator →

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