#CCD985#CCD985

#CCD985 is a very light, moderate yellow. Relative luminance 0.642; OKLCH L 85.6% C 0.108 H 115.9°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#CCD985
RGBrgb(204, 217, 133)
HSLhsl(69, 53%, 69%)
HSVhsv(69, 39%, 85%)
CMYKcmyk(6%, 0%, 38.7%, 14.9%)
CIE-LABlab(84.05, -17.25, 39.90)
CIE-LCHlch(84.05, 43.47, 113.38°)
OKLaboklab(85.64% -0.0474 0.0975)
OKLCHoklch(85.64% 0.108 115.9)
XYZxyz(53.9486, 64.1570, 31.7273)
Luminance0.6416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD985 #9285D9
analogous
#D9BC85 #CCD985 #A2D985
triadic
#CCD985 #85CCD9 #D985CC
tetradic
#CCD985 #85D9BC #9285D9 #D985A2
square
#CCD985 #85D9BC #9285D9 #D985A2
split-complementary
#CCD985 #85A2D9 #BC85D9
monochromatic
#9BAE36 #B8CA56 #CCD985 #E0E8B4 #F3F6E2

Accessibility & contrast

On white

1.52
#CCD985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#CCD985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD985
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD985#FFFFFF#000000##000000
##CCD9851.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17F
Deuteranopia (green-blind)
#E3D289
Tritanopia (blue-blind)
#D5D0C4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccd985;
/* rgb */ color: rgb(204, 217, 133);
/* oklch */ color: oklch(85.6% 0.108 115.9);
Tailwind
colors: {
  custom: {
    50: '#dce4a9',
    500: '#ccd985',
    950: '#000000',
  },
}
SCSS
$custom: #ccd985;
$custom-light: #dce4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd985",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 69.286,
    "s": 52.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.85642,
    "c": 0.10846,
    "h": 115.9
  },
  "luminance": 0.64157
}

Semantic roles & 50–950 ramp

primary
#CCD985
secondary
#6153AF
accent
#26C03D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD985

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

Preview Lab → · Contrast checker → · Palette generator →

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