#CDD951#CDD951

#CDD951 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.158 H 114.0°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#CDD951
RGBrgb(205, 217, 81)
HSLhsl(65, 64%, 58%)
HSVhsv(65, 63%, 85%)
CMYKcmyk(5.5%, 0%, 62.7%, 14.9%)
CIE-LABlab(83.55, -21.52, 63.37)
CIE-LCHlch(83.55, 66.93, 108.76°)
OKLaboklab(85.08% -0.0643 0.1442)
OKLCHoklch(85.08% 0.158 114)
XYZxyz(51.4762, 63.1999, 17.2701)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD951 #5D51D9
analogous
#D9A151 #CDD951 #89D951
triadic
#CDD951 #51CDD9 #D951CD
tetradic
#CDD951 #51D9A1 #5D51D9 #D95189
square
#CDD951 #51D9A1 #5D51D9 #D95189
split-complementary
#CDD951 #5189D9 #A151D9
monochromatic
#86901F #B5C22A #CDD951 #DBE483 #EAEFB5

Accessibility & contrast

On white

1.54
#CDD951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#CDD951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD951
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD951#FFFFFF#000000##000000
##CDD9511.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#E7D25A
Tritanopia (blue-blind)
#DACDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd951;
/* rgb */ color: rgb(205, 217, 81);
/* oklch */ color: oklch(85.1% 0.158 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe488',
    500: '#cdd951',
    950: '#000000',
  },
}
SCSS
$custom: #cdd951;
$custom-light: #dfe488;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd951",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 65.294,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85075,
    "c": 0.15784,
    "h": 114
  },
  "luminance": 0.63199
}

Semantic roles & 50–950 ramp

primary
#CDD951
secondary
#413995
accent
#41E74F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD951

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

Preview Lab → · Contrast checker → · Palette generator →

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