#CDD64F#CDD64F

#CDD64F is a very light, vivid yellow. Relative luminance 0.616; OKLCH L 84.4% C 0.156 H 112.9°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#CDD64F
RGBrgb(205, 214, 79)
HSLhsl(64, 62%, 57%)
HSVhsv(64, 63%, 84%)
CMYKcmyk(4.2%, 0%, 63.1%, 16.1%)
CIE-LABlab(82.72, -20.19, 63.31)
CIE-LCHlch(82.72, 66.45, 107.69°)
OKLaboklab(84.41% -0.0608 0.1437)
OKLCHoklch(84.41% 0.156 112.9)
XYZxyz(50.6360, 61.6378, 16.6255)
Luminance0.6164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD64F #584FD6
analogous
#D69C4F #CDD64F #8AD64F
triadic
#CDD64F #4FCDD6 #D64FCD
tetradic
#CDD64F #4FD69C #584FD6 #D64F8A
square
#CDD64F #4FD69C #584FD6 #D64F8A
split-complementary
#CDD64F #4F8AD6 #9C4FD6
monochromatic
#838A20 #B2BC2C #CDD64F #DBE281 #E9EDB2

Accessibility & contrast

On white

1.58
#CDD64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#CDD64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD64F
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD64F#FFFFFF#000000##000000
##CDD64F1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3E
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#DACABA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #cdd64f;
/* rgb */ color: rgb(205, 214, 79);
/* oklch */ color: oklch(84.4% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe287',
    500: '#cdd64f',
    950: '#000000',
  },
}
SCSS
$custom: #cdd64f;
$custom-light: #dfe287;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd64f",
  "rgb": {
    "r": 205,
    "g": 214,
    "b": 79
  },
  "hsl": {
    "h": 64,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84408,
    "c": 0.15605,
    "h": 112.9
  },
  "luminance": 0.61637
}

Semantic roles & 50–950 ramp

primary
#CDD64F
secondary
#3F3990
accent
#43E54D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD64F

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

Preview Lab → · Contrast checker → · Palette generator →

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