#CCD698#CCD698

#CCD698 is a very light, moderate yellow. Relative luminance 0.632; OKLCH L 85.3% C 0.082 H 115.6°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#CCD698
RGBrgb(204, 214, 152)
HSLhsl(70, 43%, 72%)
HSVhsv(70, 29%, 84%)
CMYKcmyk(4.7%, 0%, 29%, 16.1%)
CIE-LABlab(83.55, -13.40, 29.57)
CIE-LCHlch(83.55, 32.46, 114.37°)
OKLaboklab(85.34% -0.0355 0.0741)
OKLCHoklch(85.34% 0.082 115.6)
XYZxyz(54.6157, 63.1979, 39.0209)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCD698 #A298D6
analogous
#D6C198 #CCD698 #ADD698
triadic
#CCD698 #98CCD6 #D698CC
tetradic
#CCD698 #98D6C1 #A298D6 #D698AD
square
#CCD698 #98D6C1 #A298D6 #D698AD
split-complementary
#CCD698 #98ADD6 #C198D6
monochromatic
#9DAE45 #B6C56C #CCD698 #E2E7C4 #F4F6E9

Accessibility & contrast

On white

1.54
#CCD698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#CCD698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCD698
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCD698#FFFFFF#000000##000000
##CCD6981.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD094
Deuteranopia (green-blind)
#DED19B
Tritanopia (blue-blind)
#D3CFC6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #ccd698;
/* rgb */ color: rgb(204, 214, 152);
/* oklch */ color: oklch(85.3% 0.082 115.6);
Tailwind
colors: {
  custom: {
    50: '#dce2b6',
    500: '#ccd698',
    950: '#000000',
  },
}
SCSS
$custom: #ccd698;
$custom-light: #dce2b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ccd698",
  "rgb": {
    "r": 204,
    "g": 214,
    "b": 152
  },
  "hsl": {
    "h": 69.677,
    "s": 43.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85341,
    "c": 0.08216,
    "h": 115.6
  },
  "luminance": 0.63198
}

Semantic roles & 50–950 ramp

primary
#CCD698
secondary
#7166AD
accent
#2FB645
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151511
muted
#848481

Preview Lab

Preview with #CCD698

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

Preview Lab → · Contrast checker → · Palette generator →

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