#CDDA4F#CDDA4F

#CDDA4F is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.3% C 0.160 H 114.4°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#CDDA4F
RGBrgb(205, 218, 79)
HSLhsl(66, 65%, 58%)
HSVhsv(66, 64%, 85%)
CMYKcmyk(6%, 0%, 63.8%, 14.5%)
CIE-LABlab(83.80, -22.14, 64.45)
CIE-LCHlch(83.80, 68.14, 108.96°)
OKLaboklab(85.28% -0.0662 0.1461)
OKLCHoklch(85.28% 0.16 114.4)
XYZxyz(51.6608, 63.6874, 16.9671)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDA4F #5C4FDA
analogous
#DAA24F #CDDA4F #87DA4F
triadic
#CDDA4F #4FCDDA #DA4FCD
tetradic
#CDDA4F #4FDAA2 #5C4FDA #DA4F87
square
#CDDA4F #4FDAA2 #5C4FDA #DA4F87
split-complementary
#CDDA4F #4F87DA #A24FDA
monochromatic
#86901E #B4C329 #CDDA4F #DBE582 #EAEFB4

Accessibility & contrast

On white

1.53
#CDDA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#CDDA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDA4F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDA4F#FFFFFF#000000##000000
##CDDA4F1.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03D
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#DACEBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #cdda4f;
/* rgb */ color: rgb(205, 218, 79);
/* oklch */ color: oklch(85.3% 0.160 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe587',
    500: '#cdda4f',
    950: '#000000',
  },
}
SCSS
$custom: #cdda4f;
$custom-light: #dfe587;
$custom-dark: #000000;
JSON
{
  "hex": "#cdda4f",
  "rgb": {
    "r": 205,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 65.612,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85275,
    "c": 0.16045,
    "h": 114.4
  },
  "luminance": 0.63686
}

Semantic roles & 50–950 ramp

primary
#CDDA4F
secondary
#403895
accent
#40E84F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDDA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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