#CDD250#CDD250

#CDD250 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.151 H 111.3°. Best body text is #000000 at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#CDD250
RGBrgb(205, 210, 80)
HSLhsl(62, 59%, 57%)
HSVhsv(62, 62%, 82%)
CMYKcmyk(2.4%, 0%, 61.9%, 17.6%)
CIE-LABlab(81.65, -18.16, 61.76)
CIE-LCHlch(81.65, 64.38, 106.38°)
OKLaboklab(83.55% -0.0549 0.1406)
OKLCHoklch(83.55% 0.151 111.3)
XYZxyz(49.6728, 59.6527, 16.4853)
Luminance0.5965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD250 #5550D2
analogous
#D29650 #CDD250 #8CD250
triadic
#CDD250 #50CDD2 #D250CD
tetradic
#CDD250 #50D296 #5550D2 #D2508C
square
#CDD250 #50D296 #5550D2 #D2508C
split-complementary
#CDD250 #508CD2 #9650D2
monochromatic
#828522 #B1B62F #CDD250 #DBDF81 #E9EBB1

Accessibility & contrast

On white

1.62
#CDD250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.93
#CDD250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD250
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD250#FFFFFF#000000##000000
##CDD2501.001.6212.9312.93
#FFFFFF1.621.0021.0021.00
#00000012.9321.001.001.00
##00000012.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C940
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#DAC6B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdd250;
/* rgb */ color: rgb(205, 210, 80);
/* oklch */ color: oklch(83.6% 0.151 111.3);
Tailwind
colors: {
  custom: {
    50: '#dfdf87',
    500: '#cdd250',
    950: '#000000',
  },
}
SCSS
$custom: #cdd250;
$custom-light: #dfdf87;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd250",
  "rgb": {
    "r": 205,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 62.308,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83554,
    "c": 0.15096,
    "h": 111.3
  },
  "luminance": 0.59652
}

Semantic roles & 50–950 ramp

primary
#CDD250
secondary
#3D3A8C
accent
#46E24C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD250

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

Preview Lab → · Contrast checker → · Palette generator →

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