#D2D85A#D2D85A

#D2D85A is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.148 H 111.7°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#D2D85A
RGBrgb(210, 216, 90)
HSLhsl(63, 62%, 60%)
HSVhsv(63, 58%, 85%)
CMYKcmyk(2.8%, 0%, 58.3%, 15.3%)
CIE-LABlab(83.73, -18.39, 59.90)
CIE-LCHlch(83.73, 62.66, 107.06°)
OKLaboklab(85.34% -0.0548 0.1379)
OKLCHoklch(85.34% 0.148 111.7)
XYZxyz(52.9810, 63.5527, 19.1468)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D85A #605AD8
analogous
#D89F5A #D2D85A #93D85A
triadic
#D2D85A #5AD2D8 #D85AD2
tetradic
#D2D85A #5AD89F #605AD8 #D85A93
square
#D2D85A #5AD89F #605AD8 #D85A93
split-complementary
#D2D85A #5A93D8 #9F5AD8
monochromatic
#8F9523 #BFC62F #D2D85A #E0E48B #EDEFBD

Accessibility & contrast

On white

1.53
#D2D85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#D2D85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D85A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D85A#FFFFFF#000000##000000
##D2D85A1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF4C
Deuteranopia (green-blind)
#E8D262
Tritanopia (blue-blind)
#DFCCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d85a;
/* rgb */ color: rgb(210, 216, 90);
/* oklch */ color: oklch(85.3% 0.148 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e38d',
    500: '#d2d85a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d85a;
$custom-light: #e2e38d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d85a",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 90
  },
  "hsl": {
    "h": 62.857,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.85341,
    "c": 0.14839,
    "h": 111.7
  },
  "luminance": 0.63552
}

Semantic roles & 50–950 ramp

primary
#D2D85A
secondary
#413D99
accent
#43E54B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D85A

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

Preview Lab → · Contrast checker → · Palette generator →

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