#CDDC5F#CDDC5F

#CDDC5F is a very light, vivid yellow. Relative luminance 0.650; OKLCH L 85.9% C 0.150 H 115.4°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#CDDC5F
RGBrgb(205, 220, 95)
HSLhsl(67, 64%, 62%)
HSVhsv(67, 57%, 86%)
CMYKcmyk(6.8%, 0%, 56.8%, 13.7%)
CIE-LABlab(84.48, -21.98, 58.45)
CIE-LCHlch(84.48, 62.45, 110.61°)
OKLaboklab(85.86% -0.0642 0.1355)
OKLCHoklch(85.86% 0.15 115.4)
XYZxyz(52.8366, 64.9925, 20.5857)
Luminance0.6499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDC5F #6E5FDC
analogous
#DCAD5F #CDDC5F #8FDC5F
triadic
#CDDC5F #5FCDDC #DC5FCD
tetradic
#CDDC5F #5FDCAD #6E5FDC #DC5F8F
square
#CDDC5F #5FDCAD #6E5FDC #DC5F8F
split-complementary
#CDDC5F #5F8FDC #AD5FDC
monochromatic
#8F9E23 #BDD02E #CDDC5F #DDE791 #ECF2C3

Accessibility & contrast

On white

1.50
#CDDC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#CDDC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDC5F
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDC5F#FFFFFF#000000##000000
##CDDC5F1.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#E9D467
Tritanopia (blue-blind)
#D9D1C1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cddc5f;
/* rgb */ color: rgb(205, 220, 95);
/* oklch */ color: oklch(85.9% 0.150 115.4);
Tailwind
colors: {
  custom: {
    50: '#dfe691',
    500: '#cddc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cddc5f;
$custom-light: #dfe691;
$custom-dark: #000000;
JSON
{
  "hex": "#cddc5f",
  "rgb": {
    "r": 205,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 67.2,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.8586,
    "c": 0.14992,
    "h": 115.4
  },
  "luminance": 0.64992
}

Semantic roles & 50–950 ramp

primary
#CDDC5F
secondary
#4A3EA2
accent
#1ACC2F
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CDDC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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