#CCDA51#CCDA51

#CCDA51 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.2% C 0.159 H 114.8°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#CCDA51
RGBrgb(204, 218, 81)
HSLhsl(66, 65%, 59%)
HSVhsv(66, 63%, 85%)
CMYKcmyk(6.4%, 0%, 62.8%, 14.5%)
CIE-LABlab(83.74, -22.41, 63.56)
CIE-LCHlch(83.74, 67.39, 109.43°)
OKLaboklab(85.21% -0.0667 0.1446)
OKLCHoklch(85.21% 0.159 114.8)
XYZxyz(51.4597, 63.5751, 17.3434)
Luminance0.6357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA51 #5F51DA
analogous
#DAA351 #CCDA51 #87DA51
triadic
#CCDA51 #51CCDA #DA51CC
tetradic
#CCDA51 #51DAA3 #5F51DA #DA5187
square
#CCDA51 #51DAA3 #5F51DA #DA5187
split-complementary
#CCDA51 #5187DA #A351DA
monochromatic
#86921F #B4C42A #CCDA51 #DBE583 #EAEFB6

Accessibility & contrast

On white

1.53
#CCDA51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#CCDA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA51
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA51#FFFFFF#000000##000000
##CCDA511.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03F
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#D8CEBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccda51;
/* rgb */ color: rgb(204, 218, 81);
/* oklch */ color: oklch(85.2% 0.159 114.8);
Tailwind
colors: {
  custom: {
    50: '#dee588',
    500: '#ccda51',
    950: '#000000',
  },
}
SCSS
$custom: #ccda51;
$custom-light: #dee588;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda51",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 81
  },
  "hsl": {
    "h": 66.131,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85214,
    "c": 0.15923,
    "h": 114.8
  },
  "luminance": 0.63574
}

Semantic roles & 50–950 ramp

primary
#CCDA51
secondary
#423997
accent
#40E851
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCDA51

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

Preview Lab → · Contrast checker → · Palette generator →

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