#CCD94C#CCD94C

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

Color values

HEX#CCD94C
RGBrgb(204, 217, 76)
HSLhsl(66, 65%, 57%)
HSVhsv(66, 65%, 85%)
CMYKcmyk(6%, 0%, 65%, 14.9%)
CIE-LABlab(83.43, -22.24, 65.23)
CIE-LCHlch(83.43, 68.92, 108.83°)
OKLaboklab(84.95% -0.0668 0.1474)
OKLCHoklch(84.95% 0.162 114.4)
XYZxyz(51.0205, 62.9858, 16.3059)
Luminance0.6299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD94C #594CD9
analogous
#D9A04C #CCD94C #85D94C
triadic
#CCD94C #4CCCD9 #D94CCC
tetradic
#CCD94C #4CD9A0 #594CD9 #D94C85
square
#CCD94C #4CD9A0 #594CD9 #D94C85
split-complementary
#CCD94C #4C85D9 #A04CD9
monochromatic
#838D1E #B1BF29 #CCD94C #DAE47E #E9EEB1

Accessibility & contrast

On white

1.54
#CCD94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.60
#CCD94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD94C
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD94C#FFFFFF#000000##000000
##CCD94C1.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd94c;
/* rgb */ color: rgb(204, 217, 76);
/* oklch */ color: oklch(85.0% 0.162 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe485',
    500: '#ccd94c',
    950: '#000000',
  },
}
SCSS
$custom: #ccd94c;
$custom-light: #dfe485;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd94c",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 65.532,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84954,
    "c": 0.16179,
    "h": 114.4
  },
  "luminance": 0.62985
}

Semantic roles & 50–950 ramp

primary
#CCD94C
secondary
#3F3792
accent
#40E84F
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD94C

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

Preview Lab → · Contrast checker → · Palette generator →

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