#CDDD5B#CDDD5B

#CDDD5B is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.0% C 0.154 H 115.6°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#CDDD5B
RGBrgb(205, 221, 91)
HSLhsl(67, 66%, 61%)
HSVhsv(67, 59%, 87%)
CMYKcmyk(7.2%, 0%, 58.8%, 13.3%)
CIE-LABlab(84.71, -22.77, 60.45)
CIE-LCHlch(84.71, 64.60, 110.64°)
OKLaboklab(86.04% -0.0668 0.1393)
OKLCHoklch(86.04% 0.154 115.6)
XYZxyz(52.9227, 65.4481, 19.7403)
Luminance0.6545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDD5B #6B5BDD
analogous
#DDAC5B #CDDD5B #8CDD5B
triadic
#CDDD5B #5BCDDD #DD5BCD
tetradic
#CDDD5B #5BDDAC #6B5BDD #DD5B8C
square
#CDDD5B #5BDDAC #6B5BDD #DD5B8C
split-complementary
#CDDD5B #5B8CDD #AC5BDD
monochromatic
#8E9D21 #BBD02B #CDDD5B #DCE88E #ECF2C0

Accessibility & contrast

On white

1.49
#CDDD5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#CDDD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDD5B
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDD5B#FFFFFF#000000##000000
##CDDD5B1.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cddd5b;
/* rgb */ color: rgb(205, 221, 91);
/* oklch */ color: oklch(86.0% 0.154 115.6);
Tailwind
colors: {
  custom: {
    50: '#dfe78e',
    500: '#cddd5b',
    950: '#000000',
  },
}
SCSS
$custom: #cddd5b;
$custom-light: #dfe78e;
$custom-dark: #000000;
JSON
{
  "hex": "#cddd5b",
  "rgb": {
    "r": 205,
    "g": 221,
    "b": 91
  },
  "hsl": {
    "h": 67.385,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86036,
    "c": 0.15445,
    "h": 115.6
  },
  "luminance": 0.65447
}

Semantic roles & 50–950 ramp

primary
#CDDD5B
secondary
#483BA1
accent
#18CE2E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15160D
muted
#84847F

Preview Lab

Preview with #CDDD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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