#CDDA5D#CDDA5D

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

Color values

HEX#CDDA5D
RGBrgb(205, 218, 93)
HSLhsl(66, 63%, 61%)
HSVhsv(66, 57%, 85%)
CMYKcmyk(6%, 0%, 57.3%, 14.5%)
CIE-LABlab(83.92, -21.16, 58.70)
CIE-LCHlch(83.92, 62.40, 109.83°)
OKLaboklab(85.41% -0.0621 0.1358)
OKLCHoklch(85.41% 0.149 114.6)
XYZxyz(52.2251, 63.9131, 19.9391)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDA5D #6A5DDA
analogous
#DAA85D #CDDA5D #8EDA5D
triadic
#CDDA5D #5DCDDA #DA5DCD
tetradic
#CDDA5D #5DDAA8 #6A5DDA #DA5D8E
square
#CDDA5D #5DDAA8 #6A5DDA #DA5D8E
split-complementary
#CDDA5D #5D8EDA #A85DDA
monochromatic
#8D9A23 #BBCB2E #CDDA5D #DCE58F #ECF1C1

Accessibility & contrast

On white

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

On black

13.78
#CDDA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDA5D
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDA5D#FFFFFF#000000##000000
##CDDA5D1.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04F
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#D9CFBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdda5d;
/* rgb */ color: rgb(205, 218, 93);
/* oklch */ color: oklch(85.4% 0.149 114.6);
Tailwind
colors: {
  custom: {
    50: '#dfe58f',
    500: '#cdda5d',
    950: '#000000',
  },
}
SCSS
$custom: #cdda5d;
$custom-light: #dfe58f;
$custom-dark: #000000;
JSON
{
  "hex": "#cdda5d",
  "rgb": {
    "r": 205,
    "g": 218,
    "b": 93
  },
  "hsl": {
    "h": 66.24,
    "s": 62.814,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85407,
    "c": 0.1493,
    "h": 114.6
  },
  "luminance": 0.63912
}

Semantic roles & 50–950 ramp

primary
#CDDA5D
secondary
#473D9E
accent
#1BCB2D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CDDA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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