#CCD94D#CCD94D

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

Color values

HEX#CCD94D
RGBrgb(204, 217, 77)
HSLhsl(66, 65%, 58%)
HSVhsv(66, 65%, 85%)
CMYKcmyk(6%, 0%, 64.5%, 14.9%)
CIE-LABlab(83.44, -22.18, 64.84)
CIE-LCHlch(83.44, 68.53, 108.89°)
OKLaboklab(84.96% -0.0665 0.1467)
OKLCHoklch(84.96% 0.161 114.4)
XYZxyz(51.0555, 62.9998, 16.4904)
Luminance0.6300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD94D #5A4DD9
analogous
#D9A04D #CCD94D #86D94D
triadic
#CCD94D #4DCCD9 #D94DCC
tetradic
#CCD94D #4DD9A0 #5A4DD9 #D94D86
square
#CCD94D #4DD9A0 #5A4DD9 #D94D86
split-complementary
#CCD94D #4D86D9 #A04DD9
monochromatic
#838D1E #B2C029 #CCD94D #DAE47F #E9EFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD94D#FFFFFF#000000##000000
##CCD94D1.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)
#E8CF3A
Deuteranopia (green-blind)
#E7D157
Tritanopia (blue-blind)
#D9CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd94d;
/* rgb */ color: rgb(204, 217, 77);
/* oklch */ color: oklch(85.0% 0.161 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe486',
    500: '#ccd94d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd94d;
$custom-light: #dfe486;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd94d",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 65.571,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84963,
    "c": 0.16108,
    "h": 114.4
  },
  "luminance": 0.62999
}

Semantic roles & 50–950 ramp

primary
#CCD94D
secondary
#403793
accent
#40E850
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD94D

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

Preview Lab → · Contrast checker → · Palette generator →

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