#D3D72E#D3D72E

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

Color values

HEX#D3D72E
RGBrgb(211, 215, 46)
HSLhsl(61, 68%, 51%)
HSVhsv(61, 79%, 84%)
CMYKcmyk(1.9%, 0%, 78.6%, 15.7%)
CIE-LABlab(83.26, -19.79, 75.36)
CIE-LCHlch(83.26, 77.92, 104.71°)
OKLaboklab(84.89% -0.0629 0.1636)
OKLCHoklch(84.89% 0.175 111)
XYZxyz(51.6594, 62.6485, 11.9553)
Luminance0.6265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D72E #322ED7
analogous
#D7862E #D3D72E #7ED72E
triadic
#D3D72E #2ED3D7 #D72ED3
tetradic
#D3D72E #2ED786 #322ED7 #D72E7E
square
#D3D72E #2ED786 #322ED7 #D72E7E
split-complementary
#D3D72E #2E7ED7 #862ED7
monochromatic
#727416 #A4A820 #D3D72E #DEE161 #E9EB95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3D72E#FFFFFF#000000##000000
##D3D72E1.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)
#E8CD00
Deuteranopia (green-blind)
#E9D13E
Tritanopia (blue-blind)
#E2C9B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d3d72e;
/* rgb */ color: rgb(211, 215, 46);
/* oklch */ color: oklch(84.9% 0.175 111.0);
Tailwind
colors: {
  custom: {
    50: '#e5e376',
    500: '#d3d72e',
    950: '#000000',
  },
}
SCSS
$custom: #d3d72e;
$custom-light: #e5e376;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d72e",
  "rgb": {
    "r": 211,
    "g": 215,
    "b": 46
  },
  "hsl": {
    "h": 61.42,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.84889,
    "c": 0.17527,
    "h": 111
  },
  "luminance": 0.62647
}

Semantic roles & 50–950 ramp

primary
#D3D72E
secondary
#2E2C7D
accent
#3DEB41
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3D72E

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

Preview Lab → · Contrast checker → · Palette generator →

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