#CCD85A#CCD85A

#CCD85A is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.150 H 114.2°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#CCD85A
RGBrgb(204, 216, 90)
HSLhsl(66, 62%, 60%)
HSVhsv(66, 58%, 85%)
CMYKcmyk(5.6%, 0%, 58.3%, 15.3%)
CIE-LABlab(83.28, -20.82, 59.27)
CIE-LCHlch(83.28, 62.82, 109.35°)
OKLaboklab(84.87% -0.0613 0.1367)
OKLCHoklch(84.87% 0.15 114.2)
XYZxyz(51.3043, 62.6882, 19.0682)
Luminance0.6269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD85A #665AD8
analogous
#D8A55A #CCD85A #8DD85A
triadic
#CCD85A #5ACCD8 #D85ACC
tetradic
#CCD85A #5AD8A5 #665AD8 #D85A8D
square
#CCD85A #5AD8A5 #665AD8 #D85A8D
split-complementary
#CCD85A #5A8DD8 #A55AD8
monochromatic
#8A9523 #B8C62F #CCD85A #DBE48B #EBEFBD

Accessibility & contrast

On white

1.55
#CCD85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#CCD85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD85A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD85A#FFFFFF#000000##000000
##CCD85A1.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4C
Deuteranopia (green-blind)
#E6D162
Tritanopia (blue-blind)
#D8CCBD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #ccd85a;
/* rgb */ color: rgb(204, 216, 90);
/* oklch */ color: oklch(84.9% 0.150 114.2);
Tailwind
colors: {
  custom: {
    50: '#dee38d',
    500: '#ccd85a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd85a;
$custom-light: #dee38d;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd85a",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 65.714,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.84865,
    "c": 0.1498,
    "h": 114.2
  },
  "luminance": 0.62687
}

Semantic roles & 50–950 ramp

primary
#CCD85A
secondary
#463D99
accent
#43E552
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150C
muted
#84847F

Preview Lab

Preview with #CCD85A

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

Preview Lab → · Contrast checker → · Palette generator →

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