#CDD282#CDD282

#CDD282 is a very light, moderate yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.103 H 111.5°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#CDD282
RGBrgb(205, 210, 130)
HSLhsl(64, 47%, 67%)
HSVhsv(64, 38%, 82%)
CMYKcmyk(2.4%, 0%, 38.1%, 17.6%)
CIE-LABlab(82.21, -13.71, 39.07)
CIE-LCHlch(82.21, 41.41, 109.34°)
OKLaboklab(84.18% -0.0376 0.0955)
OKLCHoklch(84.18% 0.103 111.5)
XYZxyz(52.2532, 60.6848, 30.0755)
Luminance0.6068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD282 #8782D2
analogous
#D2AF82 #CDD282 #A5D282
triadic
#CDD282 #82CDD2 #D282CD
tetradic
#CDD282 #82D2AF #8782D2 #D282A5
square
#CDD282 #82D2AF #8782D2 #D282A5
split-complementary
#CDD282 #82A5D2 #AF82D2
monochromatic
#9AA03A #BBC255 #CDD282 #DFE2AF #F1F2DC

Accessibility & contrast

On white

1.60
#CDD282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#CDD282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD282
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD282#FFFFFF#000000##000000
##CDD2821.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCB7C
Deuteranopia (green-blind)
#DECE86
Tritanopia (blue-blind)
#D7C9BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd282;
/* rgb */ color: rgb(205, 210, 130);
/* oklch */ color: oklch(84.2% 0.103 111.5);
Tailwind
colors: {
  custom: {
    50: '#dddfa7',
    500: '#cdd282',
    950: '#000000',
  },
}
SCSS
$custom: #cdd282;
$custom-light: #dddfa7;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd282",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 130
  },
  "hsl": {
    "h": 63.75,
    "s": 47.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.84182,
    "c": 0.10264,
    "h": 111.5
  },
  "luminance": 0.60684
}

Semantic roles & 50–950 ramp

primary
#CDD282
secondary
#5853A5
accent
#2BBA34
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #CDD282

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

Preview Lab → · Contrast checker → · Palette generator →

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