#D2D86E#D2D86E

#D2D86E is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.130 H 111.7°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D2D86E
RGBrgb(210, 216, 110)
HSLhsl(63, 58%, 64%)
HSVhsv(63, 49%, 85%)
CMYKcmyk(2.8%, 0%, 49.1%, 15.3%)
CIE-LABlab(83.93, -16.77, 51.07)
CIE-LCHlch(83.93, 53.75, 108.17°)
OKLaboklab(85.57% -0.0482 0.121)
OKLCHoklch(85.57% 0.13 111.7)
XYZxyz(53.9497, 63.9402, 24.2485)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D86E #746ED8
analogous
#D8A96E #D2D86E #9DD86E
triadic
#D2D86E #6ED2D8 #D86ED2
tetradic
#D2D86E #6ED8A9 #746ED8 #D86E9D
square
#D2D86E #6ED8A9 #746ED8 #D86E9D
split-complementary
#D2D86E #6E9DD8 #A96ED8
monochromatic
#9AA02B #C3CB3E #D2D86E #E1E59E #F0F2CE

Accessibility & contrast

On white

1.52
#D2D86E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#D2D86E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D86E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D86E#FFFFFF#000000##000000
##D2D86E1.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D064
Deuteranopia (green-blind)
#E6D373
Tritanopia (blue-blind)
#DECDC0
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d86e;
/* rgb */ color: rgb(210, 216, 110);
/* oklch */ color: oklch(85.6% 0.130 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e39a',
    500: '#d2d86e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d86e;
$custom-light: #e2e39a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d86e",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 110
  },
  "hsl": {
    "h": 63.396,
    "s": 57.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85567,
    "c": 0.13021,
    "h": 111.7
  },
  "luminance": 0.63939
}

Semantic roles & 50–950 ramp

primary
#D2D86E
secondary
#4B46A4
accent
#20C52A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D86E

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

Preview Lab → · Contrast checker → · Palette generator →

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