#CDDD51#CDDD51

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

Color values

HEX#CDDD51
RGBrgb(205, 221, 81)
HSLhsl(67, 67%, 59%)
HSVhsv(67, 63%, 87%)
CMYKcmyk(7.2%, 0%, 63.3%, 13.3%)
CIE-LABlab(84.63, -23.46, 64.52)
CIE-LCHlch(84.63, 68.65, 109.98°)
OKLaboklab(85.94% -0.0697 0.1466)
OKLCHoklch(85.94% 0.162 115.4)
XYZxyz(52.5197, 65.2869, 17.6179)
Luminance0.6529 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDD51 #6151DD
analogous
#DDA751 #CDDD51 #87DD51
triadic
#CDDD51 #51CDDD #DD51CD
tetradic
#CDDD51 #51DDA7 #6151DD #DD5187
square
#CDDD51 #51DDA7 #6151DD #DD5187
split-complementary
#CDDD51 #5187DD #A751DD
monochromatic
#88961D #B7C927 #CDDD51 #DCE784 #EAF1B7

Accessibility & contrast

On white

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

On black

14.06
#CDDD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDD51
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDD51#FFFFFF#000000##000000
##CDDD511.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23F
Deuteranopia (green-blind)
#EBD45B
Tritanopia (blue-blind)
#D9D1C0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #cddd51;
/* rgb */ color: rgb(205, 221, 81);
/* oklch */ color: oklch(85.9% 0.162 115.4);
Tailwind
colors: {
  custom: {
    50: '#dfe788',
    500: '#cddd51',
    950: '#000000',
  },
}
SCSS
$custom: #cddd51;
$custom-light: #dfe788;
$custom-dark: #000000;
JSON
{
  "hex": "#cddd51",
  "rgb": {
    "r": 205,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 66.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85943,
    "c": 0.16231,
    "h": 115.4
  },
  "luminance": 0.65286
}

Semantic roles & 50–950 ramp

primary
#CDDD51
secondary
#43389B
accent
#3EEA51
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDDD51

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

Preview Lab → · Contrast checker → · Palette generator →

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