#D7D53E#D7D53E

#D7D53E is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.9% C 0.164 H 108.7°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#D7D53E
RGBrgb(215, 213, 62)
HSLhsl(59, 66%, 54%)
HSVhsv(59, 71%, 84%)
CMYKcmyk(0%, 0.9%, 71.2%, 15.7%)
CIE-LABlab(83.12, -16.49, 70.38)
CIE-LCHlch(83.12, 72.28, 103.19°)
OKLaboklab(84.88% -0.0526 0.1556)
OKLCHoklch(84.88% 0.164 108.7)
XYZxyz(52.6900, 62.3850, 13.8225)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D53E #3E40D7
analogous
#D7893E #D7D53E #8CD73E
triadic
#D7D53E #3ED7D5 #D53ED7
tetradic
#D7D53E #3ED789 #3E40D7 #D73E8C
square
#D7D53E #3ED789 #3E40D7 #D73E8C
split-complementary
#D7D53E #3E8CD7 #893ED7
monochromatic
#807F1B #B3B125 #D7D53E #E2E071 #ECEBA3

Accessibility & contrast

On white

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

On black

13.48
#D7D53E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D53E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D53E#FFFFFF#000000##000000
##D7D53E1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC22
Deuteranopia (green-blind)
#E9D149
Tritanopia (blue-blind)
#E6C7B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d53e;
/* rgb */ color: rgb(215, 213, 62);
/* oklch */ color: oklch(84.9% 0.164 108.7);
Tailwind
colors: {
  custom: {
    50: '#e7e17d',
    500: '#d7d53e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d53e;
$custom-light: #e7e17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d53e",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 62
  },
  "hsl": {
    "h": 59.216,
    "s": 65.665,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8488,
    "c": 0.16429,
    "h": 108.7
  },
  "luminance": 0.62383
}

Semantic roles & 50–950 ramp

primary
#D7D53E
secondary
#323387
accent
#41E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7D53E

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

Preview Lab → · Contrast checker → · Palette generator →

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