#D2DA5F#D2DA5F

#D2DA5F is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.8% C 0.146 H 112.5°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D2DA5F
RGBrgb(210, 218, 95)
HSLhsl(64, 62%, 61%)
HSVhsv(64, 56%, 85%)
CMYKcmyk(3.7%, 0%, 56.4%, 14.5%)
CIE-LABlab(84.31, -19.00, 58.37)
CIE-LCHlch(84.31, 61.38, 108.03°)
OKLaboklab(85.82% -0.0561 0.1352)
OKLCHoklch(85.82% 0.146 112.5)
XYZxyz(53.7165, 64.6717, 20.4774)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA5F #675FDA
analogous
#DAA55F #D2DA5F #95DA5F
triadic
#D2DA5F #5FD2DA #DA5FD2
tetradic
#D2DA5F #5FDAA5 #675FDA #DA5F95
square
#D2DA5F #5FDAA5 #675FDA #DA5F95
split-complementary
#D2DA5F #5F95DA #A55FDA
monochromatic
#939B24 #C2CD2F #D2DA5F #E0E591 #EEF1C2

Accessibility & contrast

On white

1.51
#D2DA5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#D2DA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA5F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA5F#FFFFFF#000000##000000
##D2DA5F1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D152
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#DFCEBF
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2da5f;
/* rgb */ color: rgb(210, 218, 95);
/* oklch */ color: oklch(85.8% 0.146 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e591',
    500: '#d2da5f',
    950: '#000000',
  },
}
SCSS
$custom: #d2da5f;
$custom-light: #e2e591;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da5f",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 95
  },
  "hsl": {
    "h": 63.902,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8582,
    "c": 0.14637,
    "h": 112.5
  },
  "luminance": 0.64671
}

Semantic roles & 50–950 ramp

primary
#D2DA5F
secondary
#453E9F
accent
#1BCA27
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2DA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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