#CDDC51#CDDC51

#CDDC51 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.7% C 0.161 H 115.1°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#CDDC51
RGBrgb(205, 220, 81)
HSLhsl(66, 67%, 59%)
HSVhsv(66, 63%, 86%)
CMYKcmyk(6.8%, 0%, 63.2%, 13.7%)
CIE-LABlab(84.36, -22.98, 64.23)
CIE-LCHlch(84.36, 68.22, 109.68°)
OKLaboklab(85.73% -0.0684 0.146)
OKLCHoklch(85.73% 0.161 115.1)
XYZxyz(52.2565, 64.7604, 17.5302)
Luminance0.6476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDDC51 #6051DC
analogous
#DCA651 #CDDC51 #88DC51
triadic
#CDDC51 #51CDDC #DC51CD
tetradic
#CDDC51 #51DCA6 #6051DC #DC5188
square
#CDDC51 #51DCA6 #6051DC #DC5188
split-complementary
#CDDC51 #5188DC #A651DC
monochromatic
#88951E #B6C828 #CDDC51 #DCE684 #EAF0B7

Accessibility & contrast

On white

1.51
#CDDC51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#CDDC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDDC51
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDDC51#FFFFFF#000000##000000
##CDDC511.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13F
Deuteranopia (green-blind)
#EAD45A
Tritanopia (blue-blind)
#D9D0BF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #cddc51;
/* rgb */ color: rgb(205, 220, 81);
/* oklch */ color: oklch(85.7% 0.161 115.1);
Tailwind
colors: {
  custom: {
    50: '#dfe688',
    500: '#cddc51',
    950: '#000000',
  },
}
SCSS
$custom: #cddc51;
$custom-light: #dfe688;
$custom-dark: #000000;
JSON
{
  "hex": "#cddc51",
  "rgb": {
    "r": 205,
    "g": 220,
    "b": 81
  },
  "hsl": {
    "h": 66.475,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85726,
    "c": 0.16118,
    "h": 115.1
  },
  "luminance": 0.6476
}

Semantic roles & 50–950 ramp

primary
#CDDC51
secondary
#423899
accent
#3EE951
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CDDC51

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

Preview Lab → · Contrast checker → · Palette generator →

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