#CCDB98#CCDB98

#CCDB98 is a very light, moderate yellow-green. Relative luminance 0.658; OKLCH L 86.4% C 0.089 H 118.6°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#CCDB98
RGBrgb(204, 219, 152)
HSLhsl(73, 48%, 73%)
HSVhsv(73, 31%, 86%)
CMYKcmyk(6.8%, 0%, 30.6%, 14.1%)
CIE-LABlab(84.88, -15.90, 31.35)
CIE-LCHlch(84.88, 35.15, 116.89°)
OKLaboklab(86.4% -0.0426 0.0783)
OKLCHoklch(86.4% 0.089 118.6)
XYZxyz(55.9006, 65.7676, 39.4492)
Luminance0.6577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDB98 #A798DB
analogous
#DBC898 #CCDB98 #AADB98
triadic
#CCDB98 #98CCDB #DB98CC
tetradic
#CCDB98 #98DBC8 #A798DB #DB98AA
square
#CCDB98 #98DBC8 #A798DB #DB98AA
split-complementary
#CCDB98 #98AADB #C898DB
monochromatic
#9DB840 #B6CB6B #CCDB98 #E2EBC5 #F4F7E8

Accessibility & contrast

On white

1.48
#CCDB98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#CCDB98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDB98
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDB98#FFFFFF#000000##000000
##CCDB981.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D493
Deuteranopia (green-blind)
#E2D49B
Tritanopia (blue-blind)
#D2D4CA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ccdb98;
/* rgb */ color: rgb(204, 219, 152);
/* oklch */ color: oklch(86.4% 0.089 118.6);
Tailwind
colors: {
  custom: {
    50: '#dce6b7',
    500: '#ccdb98',
    950: '#000000',
  },
}
SCSS
$custom: #ccdb98;
$custom-light: #dce6b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccdb98",
  "rgb": {
    "r": 204,
    "g": 219,
    "b": 152
  },
  "hsl": {
    "h": 73.433,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.86401,
    "c": 0.08915,
    "h": 118.6
  },
  "luminance": 0.65767
}

Semantic roles & 50–950 ramp

primary
#CCDB98
secondary
#7665B3
accent
#2ABB4B
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCDB98

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

Preview Lab → · Contrast checker → · Palette generator →

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