#CCD795#CCD795

#CCD795 is a very light, moderate yellow-green. Relative luminance 0.636; OKLCH L 85.5% C 0.087 H 116.0°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#CCD795
RGBrgb(204, 215, 149)
HSLhsl(70, 45%, 71%)
HSVhsv(70, 31%, 84%)
CMYKcmyk(5.1%, 0%, 30.7%, 15.7%)
CIE-LABlab(83.76, -14.29, 31.40)
CIE-LCHlch(83.76, 34.50, 114.47°)
OKLaboklab(85.5% -0.0382 0.0784)
OKLCHoklch(85.5% 0.087 116)
XYZxyz(54.6270, 63.6086, 37.8278)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD795 #A095D7
analogous
#D7C195 #CCD795 #ABD795
triadic
#CCD795 #95CCD7 #D795CC
tetradic
#CCD795 #95D7C1 #A095D7 #D795AB
square
#CCD795 #95D7C1 #A095D7 #D795AB
split-complementary
#CCD795 #95ABD7 #C195D7
monochromatic
#9DAF42 #B7C669 #CCD795 #E1E8C1 #F4F7E9

Accessibility & contrast

On white

1.53
#CCD795 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#CCD795 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD795
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD795#FFFFFF#000000##000000
##CCD7951.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0D091
Deuteranopia (green-blind)
#DFD198
Tritanopia (blue-blind)
#D3D0C6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ccd795;
/* rgb */ color: rgb(204, 215, 149);
/* oklch */ color: oklch(85.5% 0.087 116.0);
Tailwind
colors: {
  custom: {
    50: '#dce3b4',
    500: '#ccd795',
    950: '#000000',
  },
}
SCSS
$custom: #ccd795;
$custom-light: #dce3b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd795",
  "rgb": {
    "r": 204,
    "g": 215,
    "b": 149
  },
  "hsl": {
    "h": 70,
    "s": 45.205,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85495,
    "c": 0.08717,
    "h": 116
  },
  "luminance": 0.63608
}

Semantic roles & 50–950 ramp

primary
#CCD795
secondary
#6F62AE
accent
#2DB844
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD795

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

Preview Lab → · Contrast checker → · Palette generator →

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