#D7D45D#D7D45D

#D7D45D is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 84.9% C 0.141 H 107.7°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#D7D45D
RGBrgb(215, 212, 93)
HSLhsl(59, 60%, 60%)
HSVhsv(59, 57%, 84%)
CMYKcmyk(0%, 1.4%, 56.7%, 15.7%)
CIE-LABlab(83.09, -14.15, 57.98)
CIE-LCHlch(83.09, 59.68, 103.71°)
OKLaboklab(84.93% -0.0428 0.1341)
OKLCHoklch(84.93% 0.141 107.7)
XYZxyz(53.5452, 62.3259, 19.5633)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D45D #5D60D7
analogous
#D7975D #D7D45D #9DD75D
triadic
#D7D45D #5DD7D4 #D45DD7
tetradic
#D7D45D #5DD797 #5D60D7 #D75D9D
square
#D7D45D #5DD797 #5D60D7 #D75D9D
split-complementary
#D7D45D #5D9DD7 #975DD7
monochromatic
#959225 #C6C231 #D7D45D #E3E18E #EFEEBF

Accessibility & contrast

On white

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

On black

13.46
#D7D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D45D
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D45D#FFFFFF#000000##000000
##D7D45D1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC50
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#E5C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d45d;
/* rgb */ color: rgb(215, 212, 93);
/* oklch */ color: oklch(84.9% 0.141 107.7);
Tailwind
colors: {
  custom: {
    50: '#e6e18f',
    500: '#d7d45d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d45d;
$custom-light: #e6e18f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d45d",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 58.525,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8493,
    "c": 0.14072,
    "h": 107.7
  },
  "luminance": 0.62324
}

Semantic roles & 50–950 ramp

primary
#D7D45D
secondary
#3E419A
accent
#22C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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