#D2CA82#D2CA82

#D2CA82 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.093 H 102.7°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D2CA82
RGBrgb(210, 202, 130)
HSLhsl(54, 47%, 67%)
HSVhsv(54, 38%, 82%)
CMYKcmyk(0%, 3.8%, 38.1%, 17.6%)
CIE-LABlab(80.49, -7.68, 36.95)
CIE-LCHlch(80.49, 37.74, 101.75°)
OKLaboklab(82.91% -0.0205 0.0906)
OKLCHoklch(82.91% 0.093 102.7)
XYZxyz(51.7290, 57.5557, 29.4992)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CA82 #828AD2
analogous
#D2A282 #D2CA82 #B2D282
triadic
#D2CA82 #82D2CA #CA82D2
tetradic
#D2CA82 #82D2A2 #828AD2 #D282B2
square
#D2CA82 #82D2A2 #828AD2 #D282B2
split-complementary
#D2CA82 #82B2D2 #A282D2
monochromatic
#A0963A #C2B755 #D2CA82 #E2DDAF #F2F0DC

Accessibility & contrast

On white

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

On black

12.51
#D2CA82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CA82
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CA82#FFFFFF#000000##000000
##D2CA821.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C57D
Deuteranopia (green-blind)
#D9CA85
Tritanopia (blue-blind)
#DDC1B8
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2ca82;
/* rgb */ color: rgb(210, 202, 130);
/* oklch */ color: oklch(82.9% 0.093 102.7);
Tailwind
colors: {
  custom: {
    50: '#e1daa7',
    500: '#d2ca82',
    950: '#000000',
  },
}
SCSS
$custom: #d2ca82;
$custom-light: #e1daa7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ca82",
  "rgb": {
    "r": 210,
    "g": 202,
    "b": 130
  },
  "hsl": {
    "h": 54,
    "s": 47.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.82914,
    "c": 0.0929,
    "h": 102.7
  },
  "luminance": 0.57554
}

Semantic roles & 50–950 ramp

primary
#D2CA82
secondary
#535BA5
accent
#3ABA2B
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CA82

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

Preview Lab → · Contrast checker → · Palette generator →

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