#D2D985#D2D985

#D2D985 is a very light, moderate yellow. Relative luminance 0.650; OKLCH L 86.1% C 0.107 H 112.5°. Best body text is #000000 at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#D2D985
RGBrgb(210, 217, 133)
HSLhsl(65, 53%, 69%)
HSVhsv(65, 39%, 85%)
CMYKcmyk(3.2%, 0%, 38.7%, 14.9%)
CIE-LABlab(84.49, -14.94, 40.56)
CIE-LCHlch(84.49, 43.23, 110.22°)
OKLaboklab(86.11% -0.0411 0.099)
OKLCHoklch(86.11% 0.107 112.5)
XYZxyz(55.6253, 65.0216, 31.8059)
Luminance0.6502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D985 #8C85D9
analogous
#D9B685 #D2D985 #A8D985
triadic
#D2D985 #85D2D9 #D985D2
tetradic
#D2D985 #85D9B6 #8C85D9 #D985A8
square
#D2D985 #85D9B6 #8C85D9 #D985A8
split-complementary
#D2D985 #85A8D9 #B685D9
monochromatic
#A4AE36 #C1CA56 #D2D985 #E3E8B4 #F4F6E2

Accessibility & contrast

On white

1.50
#D2D985 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.00
#D2D985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D985
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D985#FFFFFF#000000##000000
##D2D9851.001.5014.0014.00
#FFFFFF1.501.0021.0021.00
#00000014.0021.001.001.00
##00000014.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D27F
Deuteranopia (green-blind)
#E5D489
Tritanopia (blue-blind)
#DCD0C4
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2d985;
/* rgb */ color: rgb(210, 217, 133);
/* oklch */ color: oklch(86.1% 0.107 112.5);
Tailwind
colors: {
  custom: {
    50: '#e1e4a9',
    500: '#d2d985',
    950: '#000000',
  },
}
SCSS
$custom: #d2d985;
$custom-light: #e1e4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d985",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 65,
    "s": 52.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.86109,
    "c": 0.10719,
    "h": 112.5
  },
  "luminance": 0.65021
}

Semantic roles & 50–950 ramp

primary
#D2D985
secondary
#5B53AF
accent
#26C032
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D985

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

Preview Lab → · Contrast checker → · Palette generator →

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