#CCD84A#CCD84A

#CCD84A is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.7% C 0.162 H 114.0°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#CCD84A
RGBrgb(204, 216, 74)
HSLhsl(65, 65%, 57%)
HSVhsv(65, 66%, 85%)
CMYKcmyk(5.6%, 0%, 65.7%, 15.3%)
CIE-LABlab(83.15, -21.88, 65.72)
CIE-LCHlch(83.15, 69.26, 108.41°)
OKLaboklab(84.72% -0.0659 0.1481)
OKLCHoklch(84.72% 0.162 114)
XYZxyz(50.6951, 62.4445, 15.8597)
Luminance0.6244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD84A #564AD8
analogous
#D89D4A #CCD84A #85D84A
triadic
#CCD84A #4ACCD8 #D84ACC
tetradic
#CCD84A #4AD89D #564AD8 #D84A85
square
#CCD84A #4AD89D #564AD8 #D84A85
split-complementary
#CCD84A #4A85D8 #9D4AD8
monochromatic
#818A1E #B0BC29 #CCD84A #DAE37C #E8EEAF

Accessibility & contrast

On white

1.56
#CCD84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.49
#CCD84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD84A
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD84A#FFFFFF#000000##000000
##CCD84A1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE36
Deuteranopia (green-blind)
#E7D054
Tritanopia (blue-blind)
#D9CCBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd84a;
/* rgb */ color: rgb(204, 216, 74);
/* oklch */ color: oklch(84.7% 0.162 114.0);
Tailwind
colors: {
  custom: {
    50: '#dfe384',
    500: '#ccd84a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd84a;
$custom-light: #dfe384;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd84a",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 74
  },
  "hsl": {
    "h": 65.07,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84721,
    "c": 0.16212,
    "h": 114
  },
  "luminance": 0.62444
}

Semantic roles & 50–950 ramp

primary
#CCD84A
secondary
#3E3690
accent
#40E84E
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD84A

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

Preview Lab → · Contrast checker → · Palette generator →

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