#CDDF51#CDDF51

#CDDF51 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.4% C 0.165 H 116.1°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#CDDF51
RGBrgb(205, 223, 81)
HSLhsl(68, 69%, 60%)
HSVhsv(68, 64%, 87%)
CMYKcmyk(8.1%, 0%, 63.7%, 12.5%)
CIE-LABlab(85.17, -24.42, 65.09)
CIE-LCHlch(85.17, 69.52, 110.56°)
OKLaboklab(86.38% -0.0724 0.1478)
OKLCHoklch(86.38% 0.165 116.1)
XYZxyz(53.0509, 66.3493, 17.7950)
Luminance0.6635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDF51 #6351DF
analogous
#DFAA51 #CDDF51 #86DF51
triadic
#CDDF51 #51CDDF #DF51CD
tetradic
#CDDF51 #51DFAA #6351DF #DF5186
square
#CDDF51 #51DFAA #6351DF #DF5186
split-complementary
#CDDF51 #5186DF #AA51DF
monochromatic
#8A991C #B8CD26 #CDDF51 #DCE985 #EBF2B8

Accessibility & contrast

On white

1.47
#CDDF51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#CDDF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDF51
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDF51#FFFFFF#000000##000000
##CDDF511.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED43E
Deuteranopia (green-blind)
#ECD65B
Tritanopia (blue-blind)
#D9D3C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #cddf51;
/* rgb */ color: rgb(205, 223, 81);
/* oklch */ color: oklch(86.4% 0.165 116.1);
Tailwind
colors: {
  custom: {
    50: '#dfe888',
    500: '#cddf51',
    950: '#000000',
  },
}
SCSS
$custom: #cddf51;
$custom-light: #dfe888;
$custom-dark: #000000;
JSON
{
  "hex": "#cddf51",
  "rgb": {
    "r": 205,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 67.606,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.86379,
    "c": 0.16457,
    "h": 116.1
  },
  "luminance": 0.66349
}

Semantic roles & 50–950 ramp

primary
#CDDF51
secondary
#44379D
accent
#3CEC52
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #CDDF51

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

Preview Lab → · Contrast checker → · Palette generator →

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