#CCD54B#CCD54B

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

Color values

HEX#CCD54B
RGBrgb(204, 213, 75)
HSLhsl(64, 62%, 56%)
HSVhsv(64, 65%, 84%)
CMYKcmyk(4.2%, 0%, 64.8%, 16.5%)
CIE-LABlab(82.34, -20.36, 64.49)
CIE-LCHlch(82.34, 67.63, 107.52°)
OKLaboklab(84.08% -0.0616 0.1457)
OKLCHoklch(84.08% 0.158 112.9)
XYZxyz(49.9675, 60.9349, 15.7847)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD54B #544BD5
analogous
#D5994B #CCD54B #87D54B
triadic
#CCD54B #4BCCD5 #D54BCC
tetradic
#CCD54B #4BD599 #544BD5 #D54B87
square
#CCD54B #4BD599 #544BD5 #D54B87
split-complementary
#CCD54B #4B87D5 #994BD5
monochromatic
#80861F #AFB82B #CCD54B #DAE17D #E8ECAE

Accessibility & contrast

On white

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

On black

13.19
#CCD54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD54B
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD54B#FFFFFF#000000##000000
##CCD54B1.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd54b;
/* rgb */ color: rgb(204, 213, 75);
/* oklch */ color: oklch(84.1% 0.158 112.9);
Tailwind
colors: {
  custom: {
    50: '#dfe184',
    500: '#ccd54b',
    950: '#000000',
  },
}
SCSS
$custom: #ccd54b;
$custom-light: #dfe184;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd54b",
  "rgb": {
    "r": 204,
    "g": 213,
    "b": 75
  },
  "hsl": {
    "h": 63.913,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84078,
    "c": 0.15815,
    "h": 112.9
  },
  "luminance": 0.60934
}

Semantic roles & 50–950 ramp

primary
#CCD54B
secondary
#3D378D
accent
#43E54D
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD54B

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

Preview Lab → · Contrast checker → · Palette generator →

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