#CDD351#CDD351

#CDD351 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.8% C 0.151 H 111.7°. Best body text is #000000 at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#CDD351
RGBrgb(205, 211, 81)
HSLhsl(63, 60%, 57%)
HSVhsv(63, 62%, 83%)
CMYKcmyk(2.8%, 0%, 61.6%, 17.3%)
CIE-LABlab(81.93, -18.58, 61.65)
CIE-LCHlch(81.93, 64.39, 106.78°)
OKLaboklab(83.78% -0.056 0.1405)
OKLCHoklch(83.78% 0.151 111.7)
XYZxyz(49.9577, 60.1629, 16.7639)
Luminance0.6016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDD351 #5751D3
analogous
#D39851 #CDD351 #8CD351
triadic
#CDD351 #51CDD3 #D351CD
tetradic
#CDD351 #51D398 #5751D3 #D3518C
square
#CDD351 #51D398 #5751D3 #D3518C
split-complementary
#CDD351 #518CD3 #9851D3
monochromatic
#838722 #B2B82F #CDD351 #DBDF82 #E9ECB3

Accessibility & contrast

On white

1.61
#CDD351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.03
#CDD351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDD351
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDD351#FFFFFF#000000##000000
##CDD3511.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA41
Deuteranopia (green-blind)
#E3CD59
Tritanopia (blue-blind)
#DAC7B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #cdd351;
/* rgb */ color: rgb(205, 211, 81);
/* oklch */ color: oklch(83.8% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#dfe088',
    500: '#cdd351',
    950: '#000000',
  },
}
SCSS
$custom: #cdd351;
$custom-light: #dfe088;
$custom-dark: #000000;
JSON
{
  "hex": "#cdd351",
  "rgb": {
    "r": 205,
    "g": 211,
    "b": 81
  },
  "hsl": {
    "h": 62.769,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83778,
    "c": 0.15126,
    "h": 111.7
  },
  "luminance": 0.60162
}

Semantic roles & 50–950 ramp

primary
#CDD351
secondary
#3E3A8E
accent
#45E34C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDD351

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

Preview Lab → · Contrast checker → · Palette generator →

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