#CCD45A#CCD45A

#CCD45A is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.0% C 0.145 H 112.6°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#CCD45A
RGBrgb(204, 212, 90)
HSLhsl(64, 59%, 59%)
HSVhsv(64, 58%, 83%)
CMYKcmyk(3.8%, 0%, 57.5%, 16.9%)
CIE-LABlab(82.20, -18.85, 58.07)
CIE-LCHlch(82.20, 61.06, 107.99°)
OKLaboklab(84% -0.0558 0.1341)
OKLCHoklch(84% 0.145 112.6)
XYZxyz(50.2920, 60.6635, 18.7308)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD45A #625AD4
analogous
#D49F5A #CCD45A #8FD45A
triadic
#CCD45A #5ACCD4 #D45ACC
tetradic
#CCD45A #5AD49F #625AD4 #D45A8F
square
#CCD45A #5AD49F #625AD4 #D45A8F
split-complementary
#CCD45A #5A8FD4 #9F5AD4
monochromatic
#888E25 #B6BF32 #CCD45A #DBE18B #EAEDBB

Accessibility & contrast

On white

1.60
#CCD45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#CCD45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD45A
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD45A#FFFFFF#000000##000000
##CCD45A1.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4D
Deuteranopia (green-blind)
#E3CE61
Tritanopia (blue-blind)
#D8C8BA
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ccd45a;
/* rgb */ color: rgb(204, 212, 90);
/* oklch */ color: oklch(84.0% 0.145 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee18d',
    500: '#ccd45a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd45a;
$custom-light: #dee18d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd45a",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 63.934,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84001,
    "c": 0.14526,
    "h": 112.6
  },
  "luminance": 0.60663
}

Semantic roles & 50–950 ramp

primary
#CCD45A
secondary
#443E94
accent
#46E250
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD45A

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

Preview Lab → · Contrast checker → · Palette generator →

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