#CCD993#CCD993

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

Color values

HEX#CCD993
RGBrgb(204, 217, 147)
HSLhsl(71, 48%, 71%)
HSVhsv(71, 32%, 85%)
CMYKcmyk(6%, 0%, 32.3%, 14.9%)
CIE-LABlab(84.26, -15.55, 33.09)
CIE-LCHlch(84.26, 36.57, 115.17°)
OKLaboklab(85.88% -0.0418 0.0823)
OKLCHoklch(85.88% 0.092 116.9)
XYZxyz(54.9811, 64.5700, 37.1649)
Luminance0.6457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD993 #A093D9
analogous
#D9C393 #CCD993 #A9D993
triadic
#CCD993 #93CCD9 #D993CC
tetradic
#CCD993 #93D9C3 #A093D9 #D993A9
square
#CCD993 #93D9C3 #A093D9 #D993A9
split-complementary
#CCD993 #93A9D9 #C393D9
monochromatic
#9DB33F #B7C966 #CCD993 #E1E9C0 #F4F7E8

Accessibility & contrast

On white

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

On black

13.91
#CCD993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD993
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD993#FFFFFF#000000##000000
##CCD9931.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ccd993;
/* rgb */ color: rgb(204, 217, 147);
/* oklch */ color: oklch(85.9% 0.092 116.9);
Tailwind
colors: {
  custom: {
    50: '#dce4b3',
    500: '#ccd993',
    950: '#000000',
  },
}
SCSS
$custom: #ccd993;
$custom-light: #dce4b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd993",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 71.143,
    "s": 47.945,
    "l": 71.373
  },
  "oklch": {
    "l": 0.85883,
    "c": 0.0923,
    "h": 116.9
  },
  "luminance": 0.6457
}

Semantic roles & 50–950 ramp

primary
#CCD993
secondary
#6F60B0
accent
#2ABB45
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD993

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

Preview Lab → · Contrast checker → · Palette generator →

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