#CCD992#CCD992

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

Color values

HEX#CCD992
RGBrgb(204, 217, 146)
HSLhsl(71, 48%, 71%)
HSVhsv(71, 33%, 85%)
CMYKcmyk(6%, 0%, 32.7%, 14.9%)
CIE-LABlab(84.25, -15.68, 33.58)
CIE-LCHlch(84.25, 37.06, 115.03°)
OKLaboklab(85.87% -0.0422 0.0834)
OKLCHoklch(85.87% 0.093 116.9)
XYZxyz(54.9030, 64.5388, 36.7535)
Luminance0.6454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD992 #9F92D9
analogous
#D9C292 #CCD992 #A8D992
triadic
#CCD992 #92CCD9 #D992CC
tetradic
#CCD992 #92D9C2 #9F92D9 #D992A8
square
#CCD992 #92D9C2 #9F92D9 #D992A8
split-complementary
#CCD992 #92A8D9 #C292D9
monochromatic
#9DB23E #B7C965 #CCD992 #E1E9BF #F4F7E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CCD992#FFFFFF#000000##000000
##CCD9921.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)
#E2D28D
Deuteranopia (green-blind)
#E1D395
Tritanopia (blue-blind)
#D3D1C7
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccd992;
/* rgb */ color: rgb(204, 217, 146);
/* oklch */ color: oklch(85.9% 0.093 116.9);
Tailwind
colors: {
  custom: {
    50: '#dce4b2',
    500: '#ccd992',
    950: '#000000',
  },
}
SCSS
$custom: #ccd992;
$custom-light: #dce4b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd992",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 146
  },
  "hsl": {
    "h": 70.986,
    "s": 48.299,
    "l": 71.176
  },
  "oklch": {
    "l": 0.85865,
    "c": 0.09349,
    "h": 116.9
  },
  "luminance": 0.64538
}

Semantic roles & 50–950 ramp

primary
#CCD992
secondary
#6E5FB0
accent
#2ABC45
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD992

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

Preview Lab → · Contrast checker → · Palette generator →

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