#D2D74E#D2D74E

#D2D74E is a very light, vivid yellow. Relative luminance 0.629; 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#D2D74E
RGBrgb(210, 215, 78)
HSLhsl(62, 63%, 57%)
HSVhsv(62, 64%, 84%)
CMYKcmyk(2.3%, 0%, 63.7%, 15.7%)
CIE-LABlab(83.37, -18.69, 64.51)
CIE-LCHlch(83.37, 67.16, 106.16°)
OKLaboklab(85.02% -0.0569 0.146)
OKLCHoklch(85.02% 0.157 111.3)
XYZxyz(52.2555, 62.8538, 16.5856)
Luminance0.6285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D74E #534ED7
analogous
#D7984E #D2D74E #8DD74E
triadic
#D2D74E #4ED2D7 #D74ED2
tetradic
#D2D74E #4ED798 #534ED7 #D74E8D
square
#D2D74E #4ED798 #534ED7 #D74E8D
split-complementary
#D2D74E #4E8DD7 #984ED7
monochromatic
#878B1F #B8BD2B #D2D74E #DFE280 #EBEEB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D74E#FFFFFF#000000##000000
##D2D74E1.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)
#E7CE3C
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#E0CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d74e;
/* rgb */ color: rgb(210, 215, 78);
/* oklch */ color: oklch(85.0% 0.157 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e386',
    500: '#d2d74e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d74e;
$custom-light: #e3e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d74e",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 62.19,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85016,
    "c": 0.1567,
    "h": 111.3
  },
  "luminance": 0.62853
}

Semantic roles & 50–950 ramp

primary
#D2D74E
secondary
#3B3891
accent
#42E648
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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