#CCD87A#CCD87A

#CCD87A is a very light, moderate yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.119 H 114.9°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#CCD87A
RGBrgb(204, 216, 122)
HSLhsl(68, 55%, 66%)
HSVhsv(68, 44%, 85%)
CMYKcmyk(5.6%, 0%, 43.5%, 15.3%)
CIE-LABlab(83.63, -17.97, 44.82)
CIE-LCHlch(83.63, 48.29, 111.84°)
OKLaboklab(85.26% -0.0503 0.1081)
OKLCHoklch(85.26% 0.119 114.9)
XYZxyz(52.9711, 63.3549, 27.8468)
Luminance0.6335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD87A #867AD8
analogous
#D8B57A #CCD87A #9DD87A
triadic
#CCD87A #7ACCD8 #D87ACC
tetradic
#CCD87A #7AD8B5 #867AD8 #D87A9D
square
#CCD87A #7AD8B5 #867AD8 #D87A9D
split-complementary
#CCD87A #7A9DD8 #B57AD8
monochromatic
#98A731 #BACA4B #CCD87A #DEE6A9 #F0F4D9

Accessibility & contrast

On white

1.54
#CCD87A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.67
#CCD87A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD87A
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD87A#FFFFFF#000000##000000
##CCD87A1.001.5413.6713.67
#FFFFFF1.541.0021.0021.00
#00000013.6721.001.001.00
##00000013.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D072
Deuteranopia (green-blind)
#E3D17F
Tritanopia (blue-blind)
#D6CEC2
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd87a;
/* rgb */ color: rgb(204, 216, 122);
/* oklch */ color: oklch(85.3% 0.119 114.9);
Tailwind
colors: {
  custom: {
    50: '#dde4a2',
    500: '#ccd87a',
    950: '#000000',
  },
}
SCSS
$custom: #ccd87a;
$custom-light: #dde4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd87a",
  "rgb": {
    "r": 204,
    "g": 216,
    "b": 122
  },
  "hsl": {
    "h": 67.66,
    "s": 54.651,
    "l": 66.275
  },
  "oklch": {
    "l": 0.85259,
    "c": 0.11919,
    "h": 114.9
  },
  "luminance": 0.63354
}

Semantic roles & 50–950 ramp

primary
#CCD87A
secondary
#584CAA
accent
#23C238
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #CCD87A

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

Preview Lab → · Contrast checker → · Palette generator →

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