#CCD291#CCD291

#CCD291 is a very light, moderate yellow. Relative luminance 0.610; OKLCH L 84.4% C 0.085 H 112.5°. Best body text is #000000 at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#CCD291
RGBrgb(204, 210, 145)
HSLhsl(66, 42%, 70%)
HSVhsv(66, 31%, 82%)
CMYKcmyk(2.9%, 0%, 31%, 17.6%)
CIE-LABlab(82.37, -12.29, 31.61)
CIE-LCHlch(82.37, 33.92, 111.25°)
OKLaboklab(84.36% -0.0326 0.0787)
OKLCHoklch(84.36% 0.085 112.5)
XYZxyz(53.0594, 60.9755, 35.7569)
Luminance0.6098 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD291 #9791D2
analogous
#D2B791 #CCD291 #ACD291
triadic
#CCD291 #91CCD2 #D291CC
tetradic
#CCD291 #91D2B7 #9791D2 #D291AC
square
#CCD291 #91D2B7 #9791D2 #D291AC
split-complementary
#CCD291 #91ACD2 #B791D2
monochromatic
#9CA544 #B8C066 #CCD291 #E0E4BC #F4F6E8

Accessibility & contrast

On white

1.59
#CCD291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#CCD291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD291
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD291#FFFFFF#000000##000000
##CCD2911.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCC8D
Deuteranopia (green-blind)
#DBCE94
Tritanopia (blue-blind)
#D4CBC1
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ccd291;
/* rgb */ color: rgb(204, 210, 145);
/* oklch */ color: oklch(84.4% 0.085 112.5);
Tailwind
colors: {
  custom: {
    50: '#dcdfb2',
    500: '#ccd291',
    950: '#000000',
  },
}
SCSS
$custom: #ccd291;
$custom-light: #dcdfb2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd291",
  "rgb": {
    "r": 204,
    "g": 210,
    "b": 145
  },
  "hsl": {
    "h": 65.538,
    "s": 41.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84363,
    "c": 0.08524,
    "h": 112.5
  },
  "luminance": 0.60975
}

Semantic roles & 50–950 ramp

primary
#CCD291
secondary
#665FA8
accent
#30B53D
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151511
muted
#848481

Preview Lab

Preview with #CCD291

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

Preview Lab → · Contrast checker → · Palette generator →

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