#CDD371#CDD371

#CDD371 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.1% C 0.122 H 111.8°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#CDD371
RGBrgb(205, 211, 113)
HSLhsl(64, 53%, 64%)
HSVhsv(64, 46%, 83%)
CMYKcmyk(2.8%, 0%, 46.4%, 17.3%)
CIE-LABlab(82.25, -15.99, 47.52)
CIE-LCHlch(82.25, 50.14, 108.60°)
OKLaboklab(84.14% -0.0455 0.1135)
OKLCHoklch(84.14% 0.122 111.8)
XYZxyz(51.4526, 60.7608, 24.6371)
Luminance0.6076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD371 #7771D3
analogous
#D3A871 #CDD371 #9CD371
triadic
#CDD371 #71CDD3 #D371CD
tetradic
#CDD371 #71D3A8 #7771D3 #D3719C
square
#CDD371 #71D3A8 #7771D3 #D3719C
split-complementary
#CDD371 #719CD3 #A871D3
monochromatic
#939A30 #BDC542 #CDD371 #DDE1A0 #EEF0CE

Accessibility & contrast

On white

1.60
#CDD371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#CDD371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD371
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD371#FFFFFF#000000##000000
##CDD3711.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CB69
Deuteranopia (green-blind)
#E0CE76
Tritanopia (blue-blind)
#D8C9BC
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #cdd371;
/* rgb */ color: rgb(205, 211, 113);
/* oklch */ color: oklch(84.1% 0.122 111.8);
Tailwind
colors: {
  custom: {
    50: '#dee09c',
    500: '#cdd371',
    950: '#000000',
  },
}
SCSS
$custom: #cdd371;
$custom-light: #dee09c;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd371",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 113
  },
  "hsl": {
    "h": 63.673,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84141,
    "c": 0.12223,
    "h": 111.8
  },
  "luminance": 0.6076
}

Semantic roles & 50–950 ramp

primary
#CDD371
secondary
#4F499F
accent
#25C02F
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #CDD371

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

Preview Lab → · Contrast checker → · Palette generator →

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