#CCDD98#CCDD98

#CCDD98 is a very light, moderate yellow-green. Relative luminance 0.668; OKLCH L 86.8% C 0.092 H 119.6°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#CCDD98
RGBrgb(204, 221, 152)
HSLhsl(75, 50%, 73%)
HSVhsv(75, 31%, 87%)
CMYKcmyk(7.7%, 0%, 31.2%, 13.3%)
CIE-LABlab(85.41, -16.89, 32.06)
CIE-LCHlch(85.41, 36.24, 117.79°)
OKLaboklab(86.83% -0.0454 0.08)
OKLCHoklch(86.83% 0.092 119.6)
XYZxyz(56.4255, 66.8174, 39.6241)
Luminance0.6682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDD98 #A998DD
analogous
#DDCB98 #CCDD98 #A9DD98
triadic
#CCDD98 #98CCDD #DD98CC
tetradic
#CCDD98 #98DDCB #A998DD #DD98A9
square
#CCDD98 #98DDCB #A998DD #DD98A9
split-complementary
#CCDD98 #98A9DD #CB98DD
monochromatic
#9DBC3E #B5CE6A #CCDD98 #E3ECC6 #F4F7E8

Accessibility & contrast

On white

1.46
#CCDD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#CCDD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDD98
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDD98#FFFFFF#000000##000000
##CCDD981.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D593
Deuteranopia (green-blind)
#E4D69B
Tritanopia (blue-blind)
#D2D6CB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ccdd98;
/* rgb */ color: rgb(204, 221, 152);
/* oklch */ color: oklch(86.8% 0.092 119.6);
Tailwind
colors: {
  custom: {
    50: '#dce7b7',
    500: '#ccdd98',
    950: '#000000',
  },
}
SCSS
$custom: #ccdd98;
$custom-light: #dce7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdd98",
  "rgb": {
    "r": 204,
    "g": 221,
    "b": 152
  },
  "hsl": {
    "h": 74.783,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.86826,
    "c": 0.09199,
    "h": 119.6
  },
  "luminance": 0.66817
}

Semantic roles & 50–950 ramp

primary
#CCDD98
secondary
#7864B5
accent
#28BE4D
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #CCDD98

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

Preview Lab → · Contrast checker → · Palette generator →

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