#CDC498#CDC498

#CDC498 is a light, muted yellow. Relative luminance 0.547; OKLCH L 81.7% C 0.060 H 97.8°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#CDC498
RGBrgb(205, 196, 152)
HSLhsl(50, 35%, 70%)
HSVhsv(50, 26%, 80%)
CMYKcmyk(0%, 4.4%, 25.9%, 19.6%)
CIE-LABlab(78.88, -3.79, 23.28)
CIE-LCHlch(78.88, 23.59, 99.24°)
OKLaboklab(81.66% -0.0081 0.059)
OKLCHoklch(81.66% 0.06 97.8)
XYZxyz(50.5844, 54.7270, 37.5983)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC498 #98A1CD
analogous
#CDA998 #CDC498 #BCCD98
triadic
#CDC498 #98CDC4 #C498CD
tetradic
#CDC498 #98CDA9 #98A1CD #CD98BC
square
#CDC498 #98CDA9 #98A1CD #CD98BC
split-complementary
#CDC498 #98BCCD #A998CD
monochromatic
#9E904D #B9AC6F #CDC498 #E1DCC1 #F5F3EA

Accessibility & contrast

On white

1.76
#CDC498 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#CDC498 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC498
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC498#FFFFFF#000000##000000
##CDC4981.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDC195
Deuteranopia (green-blind)
#D0C599
Tritanopia (blue-blind)
#D5BEB8
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cdc498;
/* rgb */ color: rgb(205, 196, 152);
/* oklch */ color: oklch(81.7% 0.060 97.8);
Tailwind
colors: {
  custom: {
    50: '#dcd5b6',
    500: '#cdc498',
    950: '#000000',
  },
}
SCSS
$custom: #cdc498;
$custom-light: #dcd5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc498",
  "rgb": {
    "r": 205,
    "g": 196,
    "b": 152
  },
  "hsl": {
    "h": 49.811,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.81665,
    "c": 0.05953,
    "h": 97.8
  },
  "luminance": 0.54726
}

Semantic roles & 50–950 ramp

primary
#CDC498
secondary
#6771A2
accent
#4CAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDC498

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

Preview Lab → · Contrast checker → · Palette generator →

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