#D2D74C#D2D74C

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

Color values

HEX#D2D74C
RGBrgb(210, 215, 76)
HSLhsl(62, 63%, 57%)
HSVhsv(62, 65%, 84%)
CMYKcmyk(2.3%, 0%, 64.7%, 15.7%)
CIE-LABlab(83.35, -18.81, 65.29)
CIE-LCHlch(83.35, 67.94, 106.07°)
OKLaboklab(85% -0.0575 0.1473)
OKLCHoklch(85% 0.158 111.3)
XYZxyz(52.1848, 62.8256, 16.2137)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D74C #514CD7
analogous
#D7964C #D2D74C #8DD74C
triadic
#D2D74C #4CD2D7 #D74CD2
tetradic
#D2D74C #4CD796 #514CD7 #D74C8D
square
#D2D74C #4CD796 #514CD7 #D74C8D
split-complementary
#D2D74C #4C8DD7 #964CD7
monochromatic
#868A1F #B7BC2A #D2D74C #DFE27E #EBEDB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D74C#FFFFFF#000000##000000
##D2D74C1.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)
#E7CE39
Deuteranopia (green-blind)
#E8D155
Tritanopia (blue-blind)
#E0CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d74c;
/* rgb */ color: rgb(210, 215, 76);
/* oklch */ color: oklch(85.0% 0.158 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e385',
    500: '#d2d74c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d74c;
$custom-light: #e3e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d74c",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 62.158,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84999,
    "c": 0.15816,
    "h": 111.3
  },
  "luminance": 0.62824
}

Semantic roles & 50–950 ramp

primary
#D2D74C
secondary
#3B3790
accent
#41E647
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D74C

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

Preview Lab → · Contrast checker → · Palette generator →

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