#CCD94F#CCD94F

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

Color values

HEX#CCD94F
RGBrgb(204, 217, 79)
HSLhsl(66, 64%, 58%)
HSVhsv(66, 64%, 85%)
CMYKcmyk(6%, 0%, 63.6%, 14.9%)
CIE-LABlab(83.46, -22.06, 64.06)
CIE-LCHlch(83.46, 67.75, 109.00°)
OKLaboklab(84.98% -0.0659 0.1454)
OKLCHoklch(84.98% 0.16 114.4)
XYZxyz(51.1272, 63.0285, 16.8680)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD94F #5C4FD9
analogous
#D9A14F #CCD94F #87D94F
triadic
#CCD94F #4FCCD9 #D94FCC
tetradic
#CCD94F #4FD9A1 #5C4FD9 #D94F87
square
#CCD94F #4FD9A1 #5C4FD9 #D94F87
split-complementary
#CCD94F #4F87D9 #A14FD9
monochromatic
#848F1F #B3C12A #CCD94F #DBE481 #E9EFB4

Accessibility & contrast

On white

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

On black

13.61
#CCD94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD94F
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD94F#FFFFFF#000000##000000
##CCD94F1.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#D9CDBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd94f;
/* rgb */ color: rgb(204, 217, 79);
/* oklch */ color: oklch(85.0% 0.160 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe487',
    500: '#ccd94f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd94f;
$custom-light: #dfe487;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd94f",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 65.652,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84979,
    "c": 0.15961,
    "h": 114.4
  },
  "luminance": 0.63028
}

Semantic roles & 50–950 ramp

primary
#CCD94F
secondary
#413894
accent
#40E750
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #CCD94F

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

Preview Lab → · Contrast checker → · Palette generator →

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