#D2D73E#D2D73E

#D2D73E is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.167 H 111.4°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#D2D73E
RGBrgb(210, 215, 62)
HSLhsl(62, 66%, 54%)
HSVhsv(62, 71%, 84%)
CMYKcmyk(2.3%, 0%, 71.2%, 15.7%)
CIE-LABlab(83.26, -19.56, 70.37)
CIE-LCHlch(83.26, 73.04, 105.53°)
OKLaboklab(84.9% -0.0609 0.1558)
OKLCHoklch(84.9% 0.167 111.4)
XYZxyz(51.7500, 62.6516, 13.9234)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D73E #433ED7
analogous
#D7903E #D2D73E #86D73E
triadic
#D2D73E #3ED2D7 #D73ED2
tetradic
#D2D73E #3ED790 #433ED7 #D73E86
square
#D2D73E #3ED790 #433ED7 #D73E86
split-complementary
#D2D73E #3E86D7 #903ED7
monochromatic
#7D801B #AEB325 #D2D73E #DEE271 #EAECA3

Accessibility & contrast

On white

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

On black

13.53
#D2D73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D73E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D73E#FFFFFF#000000##000000
##D2D73E1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD21
Deuteranopia (green-blind)
#E8D14A
Tritanopia (blue-blind)
#E0CAB9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d73e;
/* rgb */ color: rgb(210, 215, 62);
/* oklch */ color: oklch(84.9% 0.167 111.4);
Tailwind
colors: {
  custom: {
    50: '#e3e37d',
    500: '#d2d73e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d73e;
$custom-light: #e3e37d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d73e",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 62
  },
  "hsl": {
    "h": 61.961,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.84896,
    "c": 0.16729,
    "h": 111.4
  },
  "luminance": 0.6265
}

Semantic roles & 50–950 ramp

primary
#D2D73E
secondary
#353287
accent
#3FE945
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D73E

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

Preview Lab → · Contrast checker → · Palette generator →

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