#CDCA98#CDCA98

#CDCA98 is a very light, moderate yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.066 H 104.9°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#CDCA98
RGBrgb(205, 202, 152)
HSLhsl(57, 35%, 70%)
HSVhsv(57, 26%, 80%)
CMYKcmyk(0%, 1.5%, 25.9%, 19.6%)
CIE-LABlab(80.45, -6.90, 25.42)
CIE-LCHlch(80.45, 26.34, 105.19°)
OKLaboklab(82.91% -0.017 0.0641)
OKLCHoklch(82.91% 0.066 104.9)
XYZxyz(51.9649, 57.4880, 38.0585)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDCA98 #989BCD
analogous
#CDB098 #CDCA98 #B5CD98
triadic
#CDCA98 #98CDCA #CA98CD
tetradic
#CDCA98 #98CDB0 #989BCD #CD98B5
square
#CDCA98 #98CDB0 #989BCD #CD98B5
split-complementary
#CDCA98 #98B5CD #B098CD
monochromatic
#9E994D #B9B56F #CDCA98 #E1DFC1 #F5F4EA

Accessibility & contrast

On white

1.68
#CDCA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#CDCA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDCA98
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDCA98#FFFFFF#000000##000000
##CDCA981.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C695
Deuteranopia (green-blind)
#D4C99A
Tritanopia (blue-blind)
#D5C3BD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdca98;
/* rgb */ color: rgb(205, 202, 152);
/* oklch */ color: oklch(82.9% 0.066 104.9);
Tailwind
colors: {
  custom: {
    50: '#dcdab6',
    500: '#cdca98',
    950: '#000000',
  },
}
SCSS
$custom: #cdca98;
$custom-light: #dcdab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdca98",
  "rgb": {
    "r": 205,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 56.604,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.82906,
    "c": 0.06636,
    "h": 104.9
  },
  "luminance": 0.57487
}

Semantic roles & 50–950 ramp

primary
#CDCA98
secondary
#676AA2
accent
#3FAD38
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #CDCA98

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

Preview Lab → · Contrast checker → · Palette generator →

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