#CDD952#CDD952

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

Color values

HEX#CDD952
RGBrgb(205, 217, 82)
HSLhsl(65, 64%, 59%)
HSVhsv(65, 62%, 85%)
CMYKcmyk(5.5%, 0%, 62.2%, 14.9%)
CIE-LABlab(83.56, -21.46, 62.97)
CIE-LCHlch(83.56, 66.53, 108.82°)
OKLaboklab(85.08% -0.064 0.1434)
OKLCHoklch(85.08% 0.157 114.1)
XYZxyz(51.5139, 63.2150, 17.4690)
Luminance0.6321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD952 #5E52D9
analogous
#D9A152 #CDD952 #89D952
triadic
#CDD952 #52CDD9 #D952CD
tetradic
#CDD952 #52D9A1 #5E52D9 #D95289
square
#CDD952 #52D9A1 #5E52D9 #D95289
split-complementary
#CDD952 #5289D9 #A152D9
monochromatic
#879120 #B5C32B #CDD952 #DCE484 #EAEFB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD952#FFFFFF#000000##000000
##CDD9521.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)
#E8CF41
Deuteranopia (green-blind)
#E7D25B
Tritanopia (blue-blind)
#DACDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd952;
/* rgb */ color: rgb(205, 217, 82);
/* oklch */ color: oklch(85.1% 0.157 114.1);
Tailwind
colors: {
  custom: {
    50: '#dfe489',
    500: '#cdd952',
    950: '#000000',
  },
}
SCSS
$custom: #cdd952;
$custom-light: #dfe489;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd952",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 65.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85084,
    "c": 0.15708,
    "h": 114.1
  },
  "luminance": 0.63214
}

Semantic roles & 50–950 ramp

primary
#CDD952
secondary
#413996
accent
#41E750
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD952

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

Preview Lab → · Contrast checker → · Palette generator →

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