#CDDA5A#CDDA5A

#CDDA5A is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.4% C 0.152 H 114.5°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#CDDA5A
RGBrgb(205, 218, 90)
HSLhsl(66, 63%, 60%)
HSVhsv(66, 59%, 85%)
CMYKcmyk(6%, 0%, 58.7%, 14.5%)
CIE-LABlab(83.89, -21.39, 59.97)
CIE-LCHlch(83.89, 63.67, 109.63°)
OKLaboklab(85.38% -0.063 0.1381)
OKLCHoklch(85.38% 0.152 114.5)
XYZxyz(52.0948, 63.8610, 19.2530)
Luminance0.6386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDA5A #675ADA
analogous
#DAA75A #CDDA5A #8DDA5A
triadic
#CDDA5A #5ACDDA #DA5ACD
tetradic
#CDDA5A #5ADAA7 #675ADA #DA5A8D
square
#CDDA5A #5ADAA7 #675ADA #DA5A8D
split-complementary
#CDDA5A #5A8DDA #A75ADA
monochromatic
#8C9822 #BACA2D #CDDA5A #DCE58C #EBF0BE

Accessibility & contrast

On white

1.52
#CDDA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#CDDA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDA5A
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDA5A#FFFFFF#000000##000000
##CDDA5A1.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04C
Deuteranopia (green-blind)
#E8D262
Tritanopia (blue-blind)
#D9CEBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdda5a;
/* rgb */ color: rgb(205, 218, 90);
/* oklch */ color: oklch(85.4% 0.152 114.5);
Tailwind
colors: {
  custom: {
    50: '#dfe58d',
    500: '#cdda5a',
    950: '#000000',
  },
}
SCSS
$custom: #cdda5a;
$custom-light: #dfe58d;
$custom-dark: #000000;
JSON
{
  "hex": "#cdda5a",
  "rgb": {
    "r": 205,
    "g": 218,
    "b": 90
  },
  "hsl": {
    "h": 66.094,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85376,
    "c": 0.15183,
    "h": 114.5
  },
  "luminance": 0.6386
}

Semantic roles & 50–950 ramp

primary
#CDDA5A
secondary
#463C9C
accent
#1ACB2C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDDA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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