#CDDF5A#CDDF5A

#CDDF5A is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.5% C 0.158 H 116.3°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#CDDF5A
RGBrgb(205, 223, 90)
HSLhsl(68, 68%, 61%)
HSVhsv(68, 60%, 87%)
CMYKcmyk(8.1%, 0%, 59.6%, 12.5%)
CIE-LABlab(85.25, -23.81, 61.46)
CIE-LCHlch(85.25, 65.91, 111.17°)
OKLaboklab(86.46% -0.0698 0.1413)
OKLCHoklch(86.46% 0.158 116.3)
XYZxyz(53.4110, 66.4933, 19.6917)
Luminance0.6649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDF5A #6C5ADF
analogous
#DFAF5A #CDDF5A #8BDF5A
triadic
#CDDF5A #5ACDDF #DF5ACD
tetradic
#CDDF5A #5ADFAF #6C5ADF #DF5A8B
square
#CDDF5A #5ADFAF #6C5ADF #DF5A8B
split-complementary
#CDDF5A #5A8BDF #AF5ADF
monochromatic
#8EA01F #BCD329 #CDDF5A #DDE98D #ECF3C1

Accessibility & contrast

On white

1.47
#CDDF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.30
#CDDF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDF5A
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDF5A#FFFFFF#000000##000000
##CDDF5A1.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44B
Deuteranopia (green-blind)
#ECD663
Tritanopia (blue-blind)
#D9D3C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cddf5a;
/* rgb */ color: rgb(205, 223, 90);
/* oklch */ color: oklch(86.5% 0.158 116.3);
Tailwind
colors: {
  custom: {
    50: '#dfe88e',
    500: '#cddf5a',
    950: '#000000',
  },
}
SCSS
$custom: #cddf5a;
$custom-light: #dfe88e;
$custom-dark: #000000;
JSON
{
  "hex": "#cddf5a",
  "rgb": {
    "r": 205,
    "g": 223,
    "b": 90
  },
  "hsl": {
    "h": 68.12,
    "s": 67.513,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86461,
    "c": 0.1576,
    "h": 116.3
  },
  "luminance": 0.66493
}

Semantic roles & 50–950 ramp

primary
#CDDF5A
secondary
#483AA3
accent
#16CF2F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CDDF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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