#CCD391#CCD391

#CCD391 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 84.6% C 0.087 H 113.2°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#CCD391
RGBrgb(204, 211, 145)
HSLhsl(66, 43%, 70%)
HSVhsv(66, 31%, 83%)
CMYKcmyk(3.3%, 0%, 31.3%, 17.3%)
CIE-LABlab(82.63, -12.80, 31.96)
CIE-LCHlch(82.63, 34.43, 111.82°)
OKLaboklab(84.58% -0.0341 0.0796)
OKLCHoklch(84.58% 0.087 113.2)
XYZxyz(53.3070, 61.4708, 35.8394)
Luminance0.6147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD391 #9891D3
analogous
#D3B991 #CCD391 #ABD391
triadic
#CCD391 #91CCD3 #D391CC
tetradic
#CCD391 #91D3B9 #9891D3 #D391AB
square
#CCD391 #91D3B9 #9891D3 #D391AB
split-complementary
#CCD391 #91ABD3 #B991D3
monochromatic
#9CA743 #B8C265 #CCD391 #E0E4BD #F5F6E8

Accessibility & contrast

On white

1.58
#CCD391 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#CCD391 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD391
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD391#FFFFFF#000000##000000
##CCD3911.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCD8C
Deuteranopia (green-blind)
#DCCF94
Tritanopia (blue-blind)
#D4CCC2
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #ccd391;
/* rgb */ color: rgb(204, 211, 145);
/* oklch */ color: oklch(84.6% 0.087 113.2);
Tailwind
colors: {
  custom: {
    50: '#dce0b2',
    500: '#ccd391',
    950: '#000000',
  },
}
SCSS
$custom: #ccd391;
$custom-light: #dce0b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd391",
  "rgb": {
    "r": 204,
    "g": 211,
    "b": 145
  },
  "hsl": {
    "h": 66.364,
    "s": 42.857,
    "l": 69.804
  },
  "oklch": {
    "l": 0.84575,
    "c": 0.08656,
    "h": 113.2
  },
  "luminance": 0.6147
}

Semantic roles & 50–950 ramp

primary
#CCD391
secondary
#675FA9
accent
#30B63E
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151511
muted
#848481

Preview Lab

Preview with #CCD391

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

Preview Lab → · Contrast checker → · Palette generator →

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