#D2DA4F#D2DA4F

#D2DA4F is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.159 H 112.5°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D2DA4F
RGBrgb(210, 218, 79)
HSLhsl(63, 65%, 58%)
HSVhsv(63, 64%, 85%)
CMYKcmyk(3.7%, 0%, 63.8%, 14.5%)
CIE-LABlab(84.18, -20.10, 64.96)
CIE-LCHlch(84.18, 68.00, 107.19°)
OKLaboklab(85.67% -0.0608 0.1471)
OKLCHoklch(85.67% 0.159 112.5)
XYZxyz(53.0625, 64.4101, 17.0328)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DA4F #574FDA
analogous
#DA9C4F #D2DA4F #8CDA4F
triadic
#D2DA4F #4FD2DA #DA4FD2
tetradic
#D2DA4F #4FDA9C #574FDA #DA4F8C
square
#D2DA4F #4FDA9C #574FDA #DA4F8C
split-complementary
#D2DA4F #4F8CDA #9C4FDA
monochromatic
#8A901E #BAC329 #D2DA4F #DFE582 #ECEFB4

Accessibility & contrast

On white

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

On black

13.88
#D2DA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DA4F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DA4F#FFFFFF#000000##000000
##D2DA4F1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD03D
Deuteranopia (green-blind)
#EAD458
Tritanopia (blue-blind)
#DFCDBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2da4f;
/* rgb */ color: rgb(210, 218, 79);
/* oklch */ color: oklch(85.7% 0.159 112.5);
Tailwind
colors: {
  custom: {
    50: '#e3e587',
    500: '#d2da4f',
    950: '#000000',
  },
}
SCSS
$custom: #d2da4f;
$custom-light: #e3e587;
$custom-dark: #000000;
JSON
{
  "hex": "#d2da4f",
  "rgb": {
    "r": 210,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 63.453,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85669,
    "c": 0.15916,
    "h": 112.5
  },
  "luminance": 0.64409
}

Semantic roles & 50–950 ramp

primary
#D2DA4F
secondary
#3D3895
accent
#40E849
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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