#CCD54A#CCD54A

#CCD54A is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.159 H 112.9°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#CCD54A
RGBrgb(204, 213, 74)
HSLhsl(64, 62%, 56%)
HSVhsv(64, 65%, 84%)
CMYKcmyk(4.2%, 0%, 65.3%, 16.5%)
CIE-LABlab(82.34, -20.42, 64.88)
CIE-LCHlch(82.34, 68.02, 107.47°)
OKLaboklab(84.07% -0.0618 0.1463)
OKLCHoklch(84.07% 0.159 112.9)
XYZxyz(49.9335, 60.9213, 15.6058)
Luminance0.6092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD54A #534AD5
analogous
#D5994A #CCD54A #87D54A
triadic
#CCD54A #4ACCD5 #D54ACC
tetradic
#CCD54A #4AD599 #534AD5 #D54A87
square
#CCD54A #4AD599 #534AD5 #D54A87
split-complementary
#CCD54A #4A87D5 #994AD5
monochromatic
#7F861F #AEB72B #CCD54A #DAE17C #E8ECAD

Accessibility & contrast

On white

1.59
#CCD54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#CCD54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD54A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD54A#FFFFFF#000000##000000
##CCD54A1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB37
Deuteranopia (green-blind)
#E4CE54
Tritanopia (blue-blind)
#D9C9B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd54a;
/* rgb */ color: rgb(204, 213, 74);
/* oklch */ color: oklch(84.1% 0.159 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe184',
    500: '#ccd54a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd54a;
$custom-light: #dfe184;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd54a",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 63.885,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8407,
    "c": 0.15886,
    "h": 112.9
  },
  "luminance": 0.6092
}

Semantic roles & 50–950 ramp

primary
#CCD54A
secondary
#3D378C
accent
#42E54D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD54A

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

Preview Lab → · Contrast checker → · Palette generator →

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