#CCD94B#CCD94B

#CCD94B 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#CCD94B
RGBrgb(204, 217, 75)
HSLhsl(65, 65%, 57%)
HSVhsv(65, 65%, 85%)
CMYKcmyk(6%, 0%, 65.4%, 14.9%)
CIE-LABlab(83.43, -22.30, 65.61)
CIE-LCHlch(83.43, 69.30, 108.77°)
OKLaboklab(84.95% -0.067 0.148)
OKLCHoklch(84.95% 0.163 114.4)
XYZxyz(50.9860, 62.9720, 16.1242)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD94B #584BD9
analogous
#D99F4B #CCD94B #85D94B
triadic
#CCD94B #4BCCD9 #D94BCC
tetradic
#CCD94B #4BD99F #584BD9 #D94B85
square
#CCD94B #4BD99F #584BD9 #D94B85
split-complementary
#CCD94B #4B85D9 #9F4BD9
monochromatic
#828C1E #B1BF28 #CCD94B #DAE47E #E9EEB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD94B#FFFFFF#000000##000000
##CCD94B1.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd94b;
/* rgb */ color: rgb(204, 217, 75);
/* oklch */ color: oklch(84.9% 0.163 114.4);
Tailwind
colors: {
  custom: {
    50: '#dfe485',
    500: '#ccd94b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd94b;
$custom-light: #dfe485;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd94b",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 75
  },
  "hsl": {
    "h": 65.493,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84946,
    "c": 0.1625,
    "h": 114.4
  },
  "luminance": 0.62971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CCD94B

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

Preview Lab → · Contrast checker → · Palette generator →

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