#CCD85F#CCD85F

#CCD85F is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 84.9% C 0.146 H 114.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#CCD85F
RGBrgb(204, 216, 95)
HSLhsl(66, 61%, 61%)
HSVhsv(66, 56%, 85%)
CMYKcmyk(5.6%, 0%, 56%, 15.3%)
CIE-LABlab(83.32, -20.43, 57.13)
CIE-LCHlch(83.32, 60.68, 109.68°)
OKLaboklab(84.92% -0.0598 0.1327)
OKLCHoklch(84.92% 0.146 114.3)
XYZxyz(51.5243, 62.7762, 20.2270)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD85F #6B5FD8
analogous
#D8A75F #CCD85F #8FD85F
triadic
#CCD85F #5FCCD8 #D85FCC
tetradic
#CCD85F #5FD8A7 #6B5FD8 #D85F8F
square
#CCD85F #5FD8A7 #6B5FD8 #D85F8F
split-complementary
#CCD85F #5F8FD8 #A75FD8
monochromatic
#8C9825 #BAC931 #CCD85F #DCE490 #EBF0C1

Accessibility & contrast

On white

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

On black

13.56
#CCD85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD85F
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD85F#FFFFFF#000000##000000
##CCD85F1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE52
Deuteranopia (green-blind)
#E5D166
Tritanopia (blue-blind)
#D8CDBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd85f;
/* rgb */ color: rgb(204, 216, 95);
/* oklch */ color: oklch(84.9% 0.146 114.3);
Tailwind
colors: {
  custom: {
    50: '#dee490',
    500: '#ccd85f',
    950: '#000000',
  },
}
SCSS
$custom: #ccd85f;
$custom-light: #dee490;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd85f",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 65.95,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.84917,
    "c": 0.14551,
    "h": 114.3
  },
  "luminance": 0.62775
}

Semantic roles & 50–950 ramp

primary
#CCD85F
secondary
#483F9C
accent
#1DC82E
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #CCD85F

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

Preview Lab → · Contrast checker → · Palette generator →

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