#CDDD5C#CDDD5C

#CDDD5C is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.0% C 0.154 H 115.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#CDDD5C
RGBrgb(205, 221, 92)
HSLhsl(67, 65%, 61%)
HSVhsv(67, 58%, 87%)
CMYKcmyk(7.2%, 0%, 58.4%, 13.3%)
CIE-LABlab(84.72, -22.70, 60.03)
CIE-LCHlch(84.72, 64.18, 110.71°)
OKLaboklab(86.05% -0.0665 0.1385)
OKLCHoklch(86.05% 0.154 115.6)
XYZxyz(52.9661, 65.4655, 19.9690)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDD5C #6C5CDD
analogous
#DDAD5C #CDDD5C #8DDD5C
triadic
#CDDD5C #5CCDDD #DD5CCD
tetradic
#CDDD5C #5CDDAD #6C5CDD #DD5C8D
square
#CDDD5C #5CDDAD #6C5CDD #DD5C8D
split-complementary
#CDDD5C #5C8DDD #AD5CDD
monochromatic
#8E9E21 #BCD02B #CDDD5C #DDE88F #ECF2C1

Accessibility & contrast

On white

1.49
#CDDD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#CDDD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDD5C
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDD5C#FFFFFF#000000##000000
##CDDD5C1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD34E
Deuteranopia (green-blind)
#EAD564
Tritanopia (blue-blind)
#D9D1C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cddd5c;
/* rgb */ color: rgb(205, 221, 92);
/* oklch */ color: oklch(86.0% 0.154 115.6);
Tailwind
colors: {
  custom: {
    50: '#dfe78f',
    500: '#cddd5c',
    950: '#000000',
  },
}
SCSS
$custom: #cddd5c;
$custom-light: #dfe78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cddd5c",
  "rgb": {
    "r": 205,
    "g": 221,
    "b": 92
  },
  "hsl": {
    "h": 67.442,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86046,
    "c": 0.15363,
    "h": 115.6
  },
  "luminance": 0.65465
}

Semantic roles & 50–950 ramp

primary
#CDDD5C
secondary
#483CA1
accent
#18CD2F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CDDD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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