#CCD45F#CCD45F

#CCD45F is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.1% C 0.141 H 112.6°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#CCD45F
RGBrgb(204, 212, 95)
HSLhsl(64, 58%, 60%)
HSVhsv(64, 55%, 83%)
CMYKcmyk(3.8%, 0%, 55.2%, 16.9%)
CIE-LABlab(82.25, -18.47, 55.91)
CIE-LCHlch(82.25, 58.88, 108.28°)
OKLaboklab(84.05% -0.0542 0.1301)
OKLCHoklch(84.05% 0.141 112.6)
XYZxyz(50.5120, 60.7515, 19.8896)
Luminance0.6075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD45F #675FD4
analogous
#D4A25F #CCD45F #91D45F
triadic
#CCD45F #5FCCD4 #D45FCC
tetradic
#CCD45F #5FD4A2 #675FD4 #D45F91
square
#CCD45F #5FD4A2 #675FD4 #D45F91
split-complementary
#CCD45F #5F91D4 #A25FD4
monochromatic
#8A9127 #B8C234 #CCD45F #DBE18F #EBEEBF

Accessibility & contrast

On white

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

On black

13.15
#CCD45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD45F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD45F#FFFFFF#000000##000000
##CCD45F1.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB53
Deuteranopia (green-blind)
#E2CE66
Tritanopia (blue-blind)
#D8C9BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd45f;
/* rgb */ color: rgb(204, 212, 95);
/* oklch */ color: oklch(84.1% 0.141 112.6);
Tailwind
colors: {
  custom: {
    50: '#dee190',
    500: '#ccd45f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd45f;
$custom-light: #dee190;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd45f",
  "rgb": {
    "r": 204,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 64.103,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84054,
    "c": 0.1409,
    "h": 112.6
  },
  "luminance": 0.60751
}

Semantic roles & 50–950 ramp

primary
#CCD45F
secondary
#464097
accent
#20C52C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD45F

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

Preview Lab → · Contrast checker → · Palette generator →

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