#CCD94E#CCD94E

#CCD94E 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.60:1 contrast (WCAG AA passes).

Color values

HEX#CCD94E
RGBrgb(204, 217, 78)
HSLhsl(66, 65%, 58%)
HSVhsv(66, 64%, 85%)
CMYKcmyk(6%, 0%, 64.1%, 14.9%)
CIE-LABlab(83.45, -22.12, 64.46)
CIE-LCHlch(83.45, 68.15, 108.94°)
OKLaboklab(84.97% -0.0662 0.146)
OKLCHoklch(84.97% 0.16 114.4)
XYZxyz(51.0911, 63.0140, 16.6778)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD94E #5B4ED9
analogous
#D9A14E #CCD94E #86D94E
triadic
#CCD94E #4ECCD9 #D94ECC
tetradic
#CCD94E #4ED9A1 #5B4ED9 #D94E86
square
#CCD94E #4ED9A1 #5B4ED9 #D94E86
split-complementary
#CCD94E #4E86D9 #A14ED9
monochromatic
#848E1F #B2C029 #CCD94E #DBE480 #E9EFB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD94E#FFFFFF#000000##000000
##CCD94E1.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)
#E8CF3B
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#D9CDBC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd94e;
/* rgb */ color: rgb(204, 217, 78);
/* oklch */ color: oklch(85.0% 0.160 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe486',
    500: '#ccd94e',
    950: '#000000',
  },
}
SCSS
$custom: #ccd94e;
$custom-light: #dfe486;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd94e",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 65.612,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84971,
    "c": 0.16034,
    "h": 114.4
  },
  "luminance": 0.63013
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCD94E

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

Preview Lab → · Contrast checker → · Palette generator →

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