#CCD98D#CCD98D

#CCD98D is a very light, moderate yellow-green. Relative luminance 0.644; OKLCH L 85.8% C 0.099 H 116.5°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#CCD98D
RGBrgb(204, 217, 141)
HSLhsl(70, 50%, 70%)
HSVhsv(70, 35%, 85%)
CMYKcmyk(6%, 0%, 35%, 14.9%)
CIE-LABlab(84.17, -16.31, 36.02)
CIE-LCHlch(84.17, 39.54, 114.35°)
OKLaboklab(85.78% -0.0442 0.0889)
OKLCHoklch(85.78% 0.099 116.5)
XYZxyz(54.5225, 64.3866, 34.7497)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD98D #9A8DD9
analogous
#D9C08D #CCD98D #A6D98D
triadic
#CCD98D #8DCCD9 #D98DCC
tetradic
#CCD98D #8DD9C0 #9A8DD9 #D98DA6
square
#CCD98D #8DD9C0 #9A8DD9 #D98DA6
split-complementary
#CCD98D #8DA6D9 #C08DD9
monochromatic
#9DB13B #B7CA5F #CCD98D #E1E8BB #F5F7E8

Accessibility & contrast

On white

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

On black

13.88
#CCD98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD98D
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD98D#FFFFFF#000000##000000
##CCD98D1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D288
Deuteranopia (green-blind)
#E2D390
Tritanopia (blue-blind)
#D4D1C6
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #ccd98d;
/* rgb */ color: rgb(204, 217, 141);
/* oklch */ color: oklch(85.8% 0.099 116.5);
Tailwind
colors: {
  custom: {
    50: '#dce4af',
    500: '#ccd98d',
    950: '#000000',
  },
}
SCSS
$custom: #ccd98d;
$custom-light: #dce4af;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd98d",
  "rgb": {
    "r": 204,
    "g": 217,
    "b": 141
  },
  "hsl": {
    "h": 70.263,
    "s": 50,
    "l": 70.196
  },
  "oklch": {
    "l": 0.85776,
    "c": 0.09934,
    "h": 116.5
  },
  "luminance": 0.64386
}

Semantic roles & 50–950 ramp

primary
#CCD98D
secondary
#695AB0
accent
#28BD42
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #CCD98D

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

Preview Lab → · Contrast checker → · Palette generator →

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