#D7D73E#D7D73E

#D7D73E is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.3% C 0.166 H 109.5°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D7D73E
RGBrgb(215, 215, 62)
HSLhsl(60, 66%, 54%)
HSVhsv(60, 71%, 84%)
CMYKcmyk(0%, 0%, 71.2%, 15.7%)
CIE-LABlab(83.65, -17.48, 70.89)
CIE-LCHlch(83.65, 73.01, 103.85°)
OKLaboklab(85.31% -0.0554 0.1567)
OKLCHoklch(85.31% 0.166 109.5)
XYZxyz(53.1962, 63.3973, 13.9912)
Luminance0.6340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D73E #3E3ED7
analogous
#D78B3E #D7D73E #8BD73E
triadic
#D7D73E #3ED7D7 #D73ED7
tetradic
#D7D73E #3ED78B #3E3ED7 #D73E8B
square
#D7D73E #3ED78B #3E3ED7 #D73E8B
split-complementary
#D7D73E #3E8BD7 #8B3ED7
monochromatic
#80801B #B3B325 #D7D73E #E2E271 #ECECA3

Accessibility & contrast

On white

1.54
#D7D73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#D7D73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D73E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D73E#FFFFFF#000000##000000
##D7D73E1.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE21
Deuteranopia (green-blind)
#EAD34A
Tritanopia (blue-blind)
#E6C9B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d73e;
/* rgb */ color: rgb(215, 215, 62);
/* oklch */ color: oklch(85.3% 0.166 109.5);
Tailwind
colors: {
  custom: {
    50: '#e7e37e',
    500: '#d7d73e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d73e;
$custom-light: #e7e37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d73e",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 62
  },
  "hsl": {
    "h": 60,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85306,
    "c": 0.16622,
    "h": 109.5
  },
  "luminance": 0.63396
}

Semantic roles & 50–950 ramp

primary
#D7D73E
secondary
#323287
accent
#3FE93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D73E

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

Preview Lab → · Contrast checker → · Palette generator →

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