#D2D74F#D2D74F

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

Color values

HEX#D2D74F
RGBrgb(210, 215, 79)
HSLhsl(62, 63%, 58%)
HSVhsv(62, 63%, 84%)
CMYKcmyk(2.3%, 0%, 63.3%, 15.7%)
CIE-LABlab(83.37, -18.63, 64.11)
CIE-LCHlch(83.37, 66.77, 106.20°)
OKLaboklab(85.02% -0.0567 0.1453)
OKLCHoklch(85.02% 0.156 111.3)
XYZxyz(52.2916, 62.8683, 16.7758)
Luminance0.6287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D74F #544FD7
analogous
#D7984F #D2D74F #8ED74F
triadic
#D2D74F #4FD2D7 #D74FD2
tetradic
#D2D74F #4FD798 #544FD7 #D74F8E
square
#D2D74F #4FD798 #544FD7 #D74F8E
split-complementary
#D2D74F #4F8ED7 #984FD7
monochromatic
#888C20 #B8BE2B #D2D74F #DFE281 #EBEEB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D74F#FFFFFF#000000##000000
##D2D74F1.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)
#E7CE3D
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#E0CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d74f;
/* rgb */ color: rgb(210, 215, 79);
/* oklch */ color: oklch(85.0% 0.156 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e387',
    500: '#d2d74f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d74f;
$custom-light: #e3e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d74f",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 62.206,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85024,
    "c": 0.15597,
    "h": 111.3
  },
  "luminance": 0.62867
}

Semantic roles & 50–950 ramp

primary
#D2D74F
secondary
#3C3992
accent
#42E648
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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