#D2D72E#D2D72E

#D2D72E is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.8% C 0.176 H 111.4°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#D2D72E
RGBrgb(210, 215, 46)
HSLhsl(62, 68%, 51%)
HSVhsv(62, 79%, 84%)
CMYKcmyk(2.3%, 0%, 78.6%, 15.7%)
CIE-LABlab(83.18, -20.21, 75.26)
CIE-LCHlch(83.18, 77.93, 105.03°)
OKLaboklab(84.81% -0.064 0.1634)
OKLCHoklch(84.81% 0.176 111.4)
XYZxyz(51.3738, 62.5012, 11.9419)
Luminance0.6250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D72E #332ED7
analogous
#D7872E #D2D72E #7DD72E
triadic
#D2D72E #2ED2D7 #D72ED2
tetradic
#D2D72E #2ED787 #332ED7 #D72E7D
square
#D2D72E #2ED787 #332ED7 #D72E7D
split-complementary
#D2D72E #2E7DD7 #872ED7
monochromatic
#727416 #A4A820 #D2D72E #DDE161 #E8EB95

Accessibility & contrast

On white

1.56
#D2D72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#D2D72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D72E
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D72E#FFFFFF#000000##000000
##D2D72E1.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#E9D13E
Tritanopia (blue-blind)
#E1C9B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d72e;
/* rgb */ color: rgb(210, 215, 46);
/* oklch */ color: oklch(84.8% 0.176 111.4);
Tailwind
colors: {
  custom: {
    50: '#e4e376',
    500: '#d2d72e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d72e;
$custom-light: #e4e376;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d72e",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 46
  },
  "hsl": {
    "h": 61.775,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84807,
    "c": 0.17551,
    "h": 111.4
  },
  "luminance": 0.625
}

Semantic roles & 50–950 ramp

primary
#D2D72E
secondary
#2F2C7D
accent
#3DEB42
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D72E

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

Preview Lab → · Contrast checker → · Palette generator →

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