#CDDA51#CDDA51

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

Color values

HEX#CDDA51
RGBrgb(205, 218, 81)
HSLhsl(66, 65%, 59%)
HSVhsv(66, 63%, 85%)
CMYKcmyk(6%, 0%, 62.8%, 14.5%)
CIE-LABlab(83.82, -22.01, 63.66)
CIE-LCHlch(83.82, 67.36, 109.07°)
OKLaboklab(85.29% -0.0657 0.1448)
OKLCHoklch(85.29% 0.159 114.4)
XYZxyz(51.7347, 63.7169, 17.3563)
Luminance0.6372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDA51 #5E51DA
analogous
#DAA251 #CDDA51 #88DA51
triadic
#CDDA51 #51CDDA #DA51CD
tetradic
#CDDA51 #51DAA2 #5E51DA #DA5188
square
#CDDA51 #51DAA2 #5E51DA #DA5188
split-complementary
#CDDA51 #5188DA #A251DA
monochromatic
#87921F #B5C42A #CDDA51 #DCE583 #EAEFB6

Accessibility & contrast

On white

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

On black

13.74
#CDDA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDA51
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDA51#FFFFFF#000000##000000
##CDDA511.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cdda51;
/* rgb */ color: rgb(205, 218, 81);
/* oklch */ color: oklch(85.3% 0.159 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe588',
    500: '#cdda51',
    950: '#000000',
  },
}
SCSS
$custom: #cdda51;
$custom-light: #dfe588;
$custom-dark: #000000;
JSON
{
  "hex": "#cdda51",
  "rgb": {
    "r": 205,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 65.693,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85292,
    "c": 0.15895,
    "h": 114.4
  },
  "luminance": 0.63716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CDDA51

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

Preview Lab → · Contrast checker → · Palette generator →

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