#D2D74A#D2D74A

#D2D74A is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.160 H 111.3°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D2D74A
RGBrgb(210, 215, 74)
HSLhsl(62, 64%, 57%)
HSVhsv(62, 66%, 84%)
CMYKcmyk(2.3%, 0%, 65.6%, 15.7%)
CIE-LABlab(83.34, -18.93, 66.05)
CIE-LCHlch(83.34, 68.71, 105.99°)
OKLaboklab(84.98% -0.058 0.1487)
OKLCHoklch(84.98% 0.16 111.3)
XYZxyz(52.1164, 62.7982, 15.8531)
Luminance0.6280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D74A #4F4AD7
analogous
#D7964A #D2D74A #8CD74A
triadic
#D2D74A #4AD2D7 #D74AD2
tetradic
#D2D74A #4AD796 #4F4AD7 #D74A8C
square
#D2D74A #4AD796 #4F4AD7 #D74A8C
split-complementary
#D2D74A #4A8CD7 #964AD7
monochromatic
#85881E #B5BB29 #D2D74A #DEE27C #EBEDAE

Accessibility & contrast

On white

1.55
#D2D74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#D2D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D74A
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D74A#FFFFFF#000000##000000
##D2D74A1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE36
Deuteranopia (green-blind)
#E8D154
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d74a;
/* rgb */ color: rgb(210, 215, 74);
/* oklch */ color: oklch(85.0% 0.160 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e384',
    500: '#d2d74a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d74a;
$custom-light: #e3e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d74a",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 62.128,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84983,
    "c": 0.15957,
    "h": 111.3
  },
  "luminance": 0.62797
}

Semantic roles & 50–950 ramp

primary
#D2D74A
secondary
#3A378F
accent
#41E747
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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