#D2D85E#D2D85E

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

Color values

HEX#D2D85E
RGBrgb(210, 216, 94)
HSLhsl(63, 61%, 61%)
HSVhsv(63, 56%, 85%)
CMYKcmyk(2.8%, 0%, 56.5%, 15.3%)
CIE-LABlab(83.77, -18.09, 58.20)
CIE-LCHlch(83.77, 60.94, 107.27°)
OKLaboklab(85.38% -0.0536 0.1347)
OKLCHoklch(85.38% 0.145 111.7)
XYZxyz(53.1559, 63.6227, 20.0678)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D85E #645ED8
analogous
#D8A15E #D2D85E #95D85E
triadic
#D2D85E #5ED2D8 #D85ED2
tetradic
#D2D85E #5ED8A1 #645ED8 #D85E95
square
#D2D85E #5ED8A1 #645ED8 #D85E95
split-complementary
#D2D85E #5E95D8 #A15ED8
monochromatic
#919725 #C1C831 #D2D85E #E0E48F #EEF0C1

Accessibility & contrast

On white

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

On black

13.72
#D2D85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D85E
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D85E#FFFFFF#000000##000000
##D2D85E1.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d85e;
/* rgb */ color: rgb(210, 216, 94);
/* oklch */ color: oklch(85.4% 0.145 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e390',
    500: '#d2d85e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d85e;
$custom-light: #e2e390;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d85e",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 94
  },
  "hsl": {
    "h": 62.951,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85382,
    "c": 0.145,
    "h": 111.7
  },
  "luminance": 0.63622
}

Semantic roles & 50–950 ramp

primary
#D2D85E
secondary
#433F9C
accent
#1DC925
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D85E

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

Preview Lab → · Contrast checker → · Palette generator →

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