#CDD352#CDD352

#CDD352 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.8% C 0.150 H 111.7°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#CDD352
RGBrgb(205, 211, 82)
HSLhsl(63, 59%, 57%)
HSVhsv(63, 61%, 83%)
CMYKcmyk(2.8%, 0%, 61.1%, 17.3%)
CIE-LABlab(81.93, -18.52, 61.24)
CIE-LCHlch(81.93, 63.98, 106.83°)
OKLaboklab(83.79% -0.0557 0.1398)
OKLCHoklch(83.79% 0.15 111.7)
XYZxyz(49.9955, 60.1780, 16.9629)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD352 #5852D3
analogous
#D39952 #CDD352 #8CD352
triadic
#CDD352 #52CDD3 #D352CD
tetradic
#CDD352 #52D399 #5852D3 #D3528C
square
#CDD352 #52D399 #5852D3 #D3528C
split-complementary
#CDD352 #528CD3 #9952D3
monochromatic
#838823 #B2B92F #CDD352 #DBDF83 #E9ECB4

Accessibility & contrast

On white

1.61
#CDD352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#CDD352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD352
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD352#FFFFFF#000000##000000
##CDD3521.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#E3CD5A
Tritanopia (blue-blind)
#DAC7B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd352;
/* rgb */ color: rgb(205, 211, 82);
/* oklch */ color: oklch(83.8% 0.150 111.7);
Tailwind
colors: {
  custom: {
    50: '#dfe088',
    500: '#cdd352',
    950: '#000000',
  },
}
SCSS
$custom: #cdd352;
$custom-light: #dfe088;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd352",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 82
  },
  "hsl": {
    "h": 62.791,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83788,
    "c": 0.15048,
    "h": 111.7
  },
  "luminance": 0.60177
}

Semantic roles & 50–950 ramp

primary
#CDD352
secondary
#3F3B8E
accent
#45E34D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD352

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

Preview Lab → · Contrast checker → · Palette generator →

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