#CDD950#CDD950

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

Color values

HEX#CDD950
RGBrgb(205, 217, 80)
HSLhsl(65, 64%, 58%)
HSVhsv(65, 63%, 85%)
CMYKcmyk(5.5%, 0%, 63.1%, 14.9%)
CIE-LABlab(83.54, -21.59, 63.77)
CIE-LCHlch(83.54, 67.32, 108.70°)
OKLaboklab(85.07% -0.0646 0.1449)
OKLCHoklch(85.07% 0.159 114)
XYZxyz(51.4389, 63.1850, 17.0740)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD950 #5C50D9
analogous
#D9A050 #CDD950 #89D950
triadic
#CDD950 #50CDD9 #D950CD
tetradic
#CDD950 #50D9A0 #5C50D9 #D95089
square
#CDD950 #50D9A0 #5C50D9 #D95089
split-complementary
#CDD950 #5089D9 #A050D9
monochromatic
#868F1F #B4C22A #CDD950 #DBE482 #EAEFB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDD950#FFFFFF#000000##000000
##CDD9501.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)
#E8CF3E
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#DACDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #cdd950;
/* rgb */ color: rgb(205, 217, 80);
/* oklch */ color: oklch(85.1% 0.159 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe487',
    500: '#cdd950',
    950: '#000000',
  },
}
SCSS
$custom: #cdd950;
$custom-light: #dfe487;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd950",
  "rgb": {
    "r": 205,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 65.255,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85066,
    "c": 0.1586,
    "h": 114
  },
  "luminance": 0.63184
}

Semantic roles & 50–950 ramp

primary
#CDD950
secondary
#403895
accent
#40E74F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD950

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

Preview Lab → · Contrast checker → · Palette generator →

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