#D7C73E#D7C73E

#D7C73E is a light, vivid yellow. Relative luminance 0.556; OKLCH L 81.9% C 0.152 H 102.5°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#D7C73E
RGBrgb(215, 199, 62)
HSLhsl(54, 66%, 54%)
HSVhsv(54, 71%, 84%)
CMYKcmyk(0%, 7.4%, 71.2%, 15.7%)
CIE-LABlab(79.41, -9.47, 66.78)
CIE-LCHlch(79.41, 67.45, 98.07°)
OKLaboklab(81.93% -0.0328 0.148)
OKLCHoklch(81.93% 0.152 102.5)
XYZxyz(49.3194, 55.6438, 12.6990)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C73E #3E4ED7
analogous
#D77A3E #D7C73E #9BD73E
triadic
#D7C73E #3ED7C7 #C73ED7
tetradic
#D7C73E #3ED77A #3E4ED7 #D73E9B
square
#D7C73E #3ED77A #3E4ED7 #D73E9B
split-complementary
#D7C73E #3E9BD7 #7A3ED7
monochromatic
#80751B #B3A425 #D7C73E #E2D671 #ECE4A3

Accessibility & contrast

On white

1.73
#D7C73E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#D7C73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C73E
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C73E#FFFFFF#000000##000000
##D7C73E1.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C127
Deuteranopia (green-blind)
#DEC847
Tritanopia (blue-blind)
#E7B9AC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c73e;
/* rgb */ color: rgb(215, 199, 62);
/* oklch */ color: oklch(81.9% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#e7d77c',
    500: '#d7c73e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c73e;
$custom-light: #e7d77c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c73e",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 62
  },
  "hsl": {
    "h": 53.725,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81927,
    "c": 0.15165,
    "h": 102.5
  },
  "luminance": 0.55642
}

Semantic roles & 50–950 ramp

primary
#D7C73E
secondary
#323B87
accent
#51E93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D7C73E

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

Preview Lab → · Contrast checker → · Palette generator →

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