#D2D74D#D2D74D

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

Color values

HEX#D2D74D
RGBrgb(210, 215, 77)
HSLhsl(62, 63%, 57%)
HSVhsv(62, 64%, 84%)
CMYKcmyk(2.3%, 0%, 64.2%, 15.7%)
CIE-LABlab(83.36, -18.75, 64.90)
CIE-LCHlch(83.36, 67.55, 106.12°)
OKLaboklab(85.01% -0.0572 0.1467)
OKLCHoklch(85.01% 0.157 111.3)
XYZxyz(52.2199, 62.8396, 16.3982)
Luminance0.6284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D74D #524DD7
analogous
#D7974D #D2D74D #8DD74D
triadic
#D2D74D #4DD2D7 #D74DD2
tetradic
#D2D74D #4DD797 #524DD7 #D74D8D
square
#D2D74D #4DD797 #524DD7 #D74D8D
split-complementary
#D2D74D #4D8DD7 #974DD7
monochromatic
#878A1F #B7BC2A #D2D74D #DFE27F #EBEDB1

Accessibility & contrast

On white

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

On black

13.57
#D2D74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D74D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D74D#FFFFFF#000000##000000
##D2D74D1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3A
Deuteranopia (green-blind)
#E8D156
Tritanopia (blue-blind)
#E0CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d74d;
/* rgb */ color: rgb(210, 215, 77);
/* oklch */ color: oklch(85.0% 0.157 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e386',
    500: '#d2d74d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d74d;
$custom-light: #e3e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d74d",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 77
  },
  "hsl": {
    "h": 62.174,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.85007,
    "c": 0.15744,
    "h": 111.3
  },
  "luminance": 0.62838
}

Semantic roles & 50–950 ramp

primary
#D2D74D
secondary
#3B3890
accent
#41E647
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D74D

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

Preview Lab → · Contrast checker → · Palette generator →

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