#D2D85F#D2D85F

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

Color values

HEX#D2D85F
RGBrgb(210, 216, 95)
HSLhsl(63, 61%, 61%)
HSVhsv(63, 56%, 85%)
CMYKcmyk(2.8%, 0%, 56%, 15.3%)
CIE-LABlab(83.78, -18.02, 57.77)
CIE-LCHlch(83.78, 60.51, 107.32°)
OKLaboklab(85.39% -0.0533 0.1339)
OKLCHoklch(85.39% 0.144 111.7)
XYZxyz(53.2010, 63.6407, 20.3056)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D85F #655FD8
analogous
#D8A15F #D2D85F #95D85F
triadic
#D2D85F #5FD2D8 #D85FD2
tetradic
#D2D85F #5FD8A1 #655FD8 #D85F95
square
#D2D85F #5FD8A1 #655FD8 #D85F95
split-complementary
#D2D85F #5F95D8 #A15FD8
monochromatic
#929825 #C1C931 #D2D85F #E0E490 #EEF0C1

Accessibility & contrast

On white

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

On black

13.73
#D2D85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D85F
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D85F#FFFFFF#000000##000000
##D2D85F1.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF52
Deuteranopia (green-blind)
#E7D266
Tritanopia (blue-blind)
#DFCCBE
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d85f;
/* rgb */ color: rgb(210, 216, 95);
/* oklch */ color: oklch(85.4% 0.144 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e390',
    500: '#d2d85f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d85f;
$custom-light: #e2e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d85f",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 95
  },
  "hsl": {
    "h": 62.975,
    "s": 60.804,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85392,
    "c": 0.14413,
    "h": 111.7
  },
  "luminance": 0.6364
}

Semantic roles & 50–950 ramp

primary
#D2D85F
secondary
#443F9C
accent
#1DC826
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D85F

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

Preview Lab → · Contrast checker → · Palette generator →

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