#CCDA98#CCDA98

#CCDA98 is a very light, moderate yellow-green. Relative luminance 0.652; OKLCH L 86.2% C 0.088 H 118.0°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#CCDA98
RGBrgb(204, 218, 152)
HSLhsl(73, 47%, 73%)
HSVhsv(73, 30%, 85%)
CMYKcmyk(6.4%, 0%, 30.3%, 14.5%)
CIE-LABlab(84.61, -15.40, 30.99)
CIE-LCHlch(84.61, 34.61, 116.42°)
OKLaboklab(86.19% -0.0412 0.0775)
OKLCHoklch(86.19% 0.088 118)
XYZxyz(55.6405, 65.2474, 39.3625)
Luminance0.6525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCDA98 #A698DA
analogous
#DAC798 #CCDA98 #ABDA98
triadic
#CCDA98 #98CCDA #DA98CC
tetradic
#CCDA98 #98DAC7 #A698DA #DA98AB
square
#CCDA98 #98DAC7 #A698DA #DA98AB
split-complementary
#CCDA98 #98ABDA #C798DA
monochromatic
#9DB641 #B6CA6B #CCDA98 #E2EAC5 #F4F7E8

Accessibility & contrast

On white

1.49
#CCDA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#CCDA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCDA98
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCDA98#FFFFFF#000000##000000
##CCDA981.001.4914.0514.05
#FFFFFF1.491.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D394
Deuteranopia (green-blind)
#E1D49B
Tritanopia (blue-blind)
#D3D3C9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #ccda98;
/* rgb */ color: rgb(204, 218, 152);
/* oklch */ color: oklch(86.2% 0.088 118.0);
Tailwind
colors: {
  custom: {
    50: '#dce5b7',
    500: '#ccda98',
    950: '#000000',
  },
}
SCSS
$custom: #ccda98;
$custom-light: #dce5b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ccda98",
  "rgb": {
    "r": 204,
    "g": 218,
    "b": 152
  },
  "hsl": {
    "h": 72.727,
    "s": 47.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.86188,
    "c": 0.08774,
    "h": 118
  },
  "luminance": 0.65247
}

Semantic roles & 50–950 ramp

primary
#CCDA98
secondary
#7565B1
accent
#2BBA4A
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCDA98

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

Preview Lab → · Contrast checker → · Palette generator →

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