#CCD94A#CCD94A

#CCD94A is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 84.9% C 0.163 H 114.4°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#CCD94A
RGBrgb(204, 217, 74)
HSLhsl(65, 65%, 57%)
HSVhsv(65, 66%, 85%)
CMYKcmyk(6%, 0%, 65.9%, 14.9%)
CIE-LABlab(83.42, -22.36, 66.00)
CIE-LCHlch(83.42, 69.68, 108.72°)
OKLaboklab(84.94% -0.0673 0.1487)
OKLCHoklch(84.94% 0.163 114.4)
XYZxyz(50.9520, 62.9584, 15.9453)
Luminance0.6296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD94A #574AD9
analogous
#D99F4A #CCD94A #84D94A
triadic
#CCD94A #4ACCD9 #D94ACC
tetradic
#CCD94A #4AD99F #574AD9 #D94A84
square
#CCD94A #4AD99F #574AD9 #D94A84
split-complementary
#CCD94A #4A84D9 #9F4AD9
monochromatic
#818B1D #B0BE28 #CCD94A #DAE47D #E9EEAF

Accessibility & contrast

On white

1.55
#CCD94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#CCD94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD94A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD94A#FFFFFF#000000##000000
##CCD94A1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF36
Deuteranopia (green-blind)
#E8D154
Tritanopia (blue-blind)
#D9CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd94a;
/* rgb */ color: rgb(204, 217, 74);
/* oklch */ color: oklch(84.9% 0.163 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe484',
    500: '#ccd94a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd94a;
$custom-light: #dfe484;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd94a",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 74
  },
  "hsl": {
    "h": 65.455,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84938,
    "c": 0.1632,
    "h": 114.4
  },
  "luminance": 0.62957
}

Semantic roles & 50–950 ramp

primary
#CCD94A
secondary
#3E3691
accent
#40E84F
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD94A

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

Preview Lab → · Contrast checker → · Palette generator →

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