#CCD245#CCD245

#CCD245 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.4% C 0.159 H 111.8°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#CCD245
RGBrgb(204, 210, 69)
HSLhsl(63, 61%, 55%)
HSVhsv(63, 67%, 82%)
CMYKcmyk(2.9%, 0%, 67.1%, 17.6%)
CIE-LABlab(81.49, -19.23, 65.94)
CIE-LCHlch(81.49, 68.69, 106.26°)
OKLaboklab(83.38% -0.059 0.1478)
OKLCHoklch(83.38% 0.159 111.8)
XYZxyz(49.0241, 59.3614, 14.5045)
Luminance0.5936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD245 #4B45D2
analogous
#D29145 #CCD245 #86D245
triadic
#CCD245 #45CCD2 #D245CC
tetradic
#CCD245 #45D291 #4B45D2 #D24586
square
#CCD245 #45D291 #4B45D2 #D24586
split-complementary
#CCD245 #4586D2 #9145D2
monochromatic
#7A7E1F #AAAF2A #CCD245 #DADE76 #E7EAA8

Accessibility & contrast

On white

1.63
#CCD245 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.87
#CCD245 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD245
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD245#FFFFFF#000000##000000
##CCD2451.001.6312.8712.87
#FFFFFF1.631.0021.0021.00
#00000012.8721.001.001.00
##00000012.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C930
Deuteranopia (green-blind)
#E2CC4F
Tritanopia (blue-blind)
#DAC5B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #ccd245;
/* rgb */ color: rgb(204, 210, 69);
/* oklch */ color: oklch(83.4% 0.159 111.8);
Tailwind
colors: {
  custom: {
    50: '#dfdf81',
    500: '#ccd245',
    950: '#000000',
  },
}
SCSS
$custom: #ccd245;
$custom-light: #dfdf81;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd245",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 69
  },
  "hsl": {
    "h": 62.553,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.83381,
    "c": 0.15914,
    "h": 111.8
  },
  "luminance": 0.5936
}

Semantic roles & 50–950 ramp

primary
#CCD245
secondary
#393686
accent
#44E44A
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #CCD245

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

Preview Lab → · Contrast checker → · Palette generator →

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