#D2CA98#D2CA98

#D2CA98 is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.067 H 100.0°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D2CA98
RGBrgb(210, 202, 152)
HSLhsl(52, 39%, 71%)
HSVhsv(52, 28%, 82%)
CMYKcmyk(0%, 3.8%, 27.6%, 17.6%)
CIE-LABlab(80.86, -4.99, 26.03)
CIE-LCHlch(80.86, 26.50, 100.86°)
OKLaboklab(83.32% -0.0116 0.0656)
OKLCHoklch(83.32% 0.067 100)
XYZxyz(53.3666, 58.2108, 38.1242)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA98 #98A0D2
analogous
#D2AD98 #D2CA98 #BDD298
triadic
#D2CA98 #98D2CA #CA98D2
tetradic
#D2CA98 #98D2AD #98A0D2 #D298BD
square
#D2CA98 #98D2AD #98A0D2 #D298BD
split-complementary
#D2CA98 #98BDD2 #AD98D2
monochromatic
#A79A49 #BFB46D #D2CA98 #E5E0C3 #F6F4EA

Accessibility & contrast

On white

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

On black

12.64
#D2CA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA98
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA98#FFFFFF#000000##000000
##D2CA981.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2ca98;
/* rgb */ color: rgb(210, 202, 152);
/* oklch */ color: oklch(83.3% 0.067 100.0);
Tailwind
colors: {
  custom: {
    50: '#e0dab6',
    500: '#d2ca98',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca98;
$custom-light: #e0dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca98",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 51.724,
    "s": 39.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.83322,
    "c": 0.06662,
    "h": 100
  },
  "luminance": 0.5821
}

Semantic roles & 50–950 ramp

primary
#D2CA98
secondary
#666FA8
accent
#45B233
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151411
muted
#848381

Preview Lab

Preview with #D2CA98

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

Preview Lab → · Contrast checker → · Palette generator →

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