#CCD995#CCD995

#CCD995 is a very light, moderate yellow-green. Relative luminance 0.646; OKLCH L 85.9% C 0.090 H 117.1°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#CCD995
RGBrgb(204, 217, 149)
HSLhsl(71, 47%, 72%)
HSVhsv(71, 31%, 85%)
CMYKcmyk(6%, 0%, 31.3%, 14.9%)
CIE-LABlab(84.29, -15.30, 32.11)
CIE-LCHlch(84.29, 35.57, 115.47°)
OKLaboklab(85.92% -0.041 0.08)
OKLCHoklch(85.92% 0.09 117.1)
XYZxyz(55.1394, 64.6333, 37.9986)
Luminance0.6463 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD995 #A295D9
analogous
#D9C495 #CCD995 #AAD995
triadic
#CCD995 #95CCD9 #D995CC
tetradic
#CCD995 #95D9C4 #A295D9 #D995AA
square
#CCD995 #95D9C4 #A295D9 #D995AA
split-complementary
#CCD995 #95AAD9 #C495D9
monochromatic
#9DB340 #B6C968 #CCD995 #E2E9C2 #F4F7E8

Accessibility & contrast

On white

1.51
#CCD995 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#CCD995 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD995
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD995#FFFFFF#000000##000000
##CCD9951.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D290
Deuteranopia (green-blind)
#E1D398
Tritanopia (blue-blind)
#D3D2C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccd995;
/* rgb */ color: rgb(204, 217, 149);
/* oklch */ color: oklch(85.9% 0.090 117.1);
Tailwind
colors: {
  custom: {
    50: '#dce4b4',
    500: '#ccd995',
    950: '#000000',
  },
}
SCSS
$custom: #ccd995;
$custom-light: #dce4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd995",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 149
  },
  "hsl": {
    "h": 71.471,
    "s": 47.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.8592,
    "c": 0.08993,
    "h": 117.1
  },
  "luminance": 0.64633
}

Semantic roles & 50–950 ramp

primary
#CCD995
secondary
#7162B0
accent
#2BBA46
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD995

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

Preview Lab → · Contrast checker → · Palette generator →

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