#CDCC98#CDCC98

#CDCC98 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.069 H 106.9°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CDCC98
RGBrgb(205, 204, 152)
HSLhsl(59, 35%, 70%)
HSVhsv(59, 26%, 80%)
CMYKcmyk(0%, 0.5%, 25.9%, 19.6%)
CIE-LABlab(80.98, -7.93, 26.13)
CIE-LCHlch(80.98, 27.30, 106.88°)
OKLaboklab(83.32% -0.02 0.0658)
OKLCHoklch(83.32% 0.069 106.9)
XYZxyz(52.4372, 58.4326, 38.2159)
Luminance0.5843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCC98 #9899CD
analogous
#CDB298 #CDCC98 #B3CD98
triadic
#CDCC98 #98CDCC #CC98CD
tetradic
#CDCC98 #98CDB2 #9899CD #CD98B3
square
#CDCC98 #98CDB2 #9899CD #CD98B3
split-complementary
#CDCC98 #98B3CD #B298CD
monochromatic
#9E9C4D #B9B86F #CDCC98 #E1E0C1 #F5F5EA

Accessibility & contrast

On white

1.66
#CDCC98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#CDCC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCC98
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCC98#FFFFFF#000000##000000
##CDCC981.001.6612.6912.69
#FFFFFF1.661.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C895
Deuteranopia (green-blind)
#D6CA9A
Tritanopia (blue-blind)
#D5C5BE
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cdcc98;
/* rgb */ color: rgb(205, 204, 152);
/* oklch */ color: oklch(83.3% 0.069 106.9);
Tailwind
colors: {
  custom: {
    50: '#dcdbb6',
    500: '#cdcc98',
    950: '#000000',
  },
}
SCSS
$custom: #cdcc98;
$custom-light: #dcdbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdcc98",
  "rgb": {
    "r": 205,
    "g": 204,
    "b": 152
  },
  "hsl": {
    "h": 58.868,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.83322,
    "c": 0.0688,
    "h": 106.9
  },
  "luminance": 0.58432
}

Semantic roles & 50–950 ramp

primary
#CDCC98
secondary
#6768A2
accent
#3AAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #CDCC98

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

Preview Lab → · Contrast checker → · Palette generator →

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