#CCDA47#CCDA47

#CCDA47 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.1% C 0.166 H 114.7°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#CCDA47
RGBrgb(204, 218, 71)
HSLhsl(66, 67%, 57%)
HSVhsv(66, 67%, 85%)
CMYKcmyk(6.4%, 0%, 67.4%, 14.5%)
CIE-LABlab(83.67, -23.02, 67.39)
CIE-LCHlch(83.67, 71.21, 108.86°)
OKLaboklab(85.13% -0.0694 0.1512)
OKLCHoklch(85.13% 0.166 114.7)
XYZxyz(51.1119, 63.4360, 15.5119)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA47 #5547DA
analogous
#DA9F47 #CCDA47 #83DA47
triadic
#CCDA47 #47CCDA #DA47CC
tetradic
#CCDA47 #47DA9F #5547DA #DA4783
square
#CCDA47 #47DA9F #5547DA #DA4783
split-complementary
#CCDA47 #4783DA #9F47DA
monochromatic
#808B1C #AFBE26 #CCDA47 #DAE47A #E8EEAD

Accessibility & contrast

On white

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

On black

13.69
#CCDA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA47
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA47#FFFFFF#000000##000000
##CCDA471.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF31
Deuteranopia (green-blind)
#E8D252
Tritanopia (blue-blind)
#D9CEBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccda47;
/* rgb */ color: rgb(204, 218, 71);
/* oklch */ color: oklch(85.1% 0.166 114.7);
Tailwind
colors: {
  custom: {
    50: '#dfe582',
    500: '#ccda47',
    950: '#000000',
  },
}
SCSS
$custom: #ccda47;
$custom-light: #dfe582;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda47",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 71
  },
  "hsl": {
    "h": 65.714,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85132,
    "c": 0.16634,
    "h": 114.7
  },
  "luminance": 0.63435
}

Semantic roles & 50–950 ramp

primary
#CCDA47
secondary
#3D3591
accent
#3EE94F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCDA47

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

Preview Lab → · Contrast checker → · Palette generator →

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