#D7D545#D7D545

#D7D545 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 84.9% C 0.160 H 108.6°. Best body text is #000000 at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#D7D545
RGBrgb(215, 213, 69)
HSLhsl(59, 65%, 56%)
HSVhsv(59, 68%, 84%)
CMYKcmyk(0%, 0.9%, 67.9%, 15.7%)
CIE-LABlab(83.16, -16.15, 67.90)
CIE-LCHlch(83.16, 69.80, 103.38°)
OKLaboklab(84.93% -0.051 0.1516)
OKLCHoklch(84.93% 0.16 108.6)
XYZxyz(52.8946, 62.4669, 14.9001)
Luminance0.6247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D545 #4547D7
analogous
#D78C45 #D7D545 #90D745
triadic
#D7D545 #45D7D5 #D545D7
tetradic
#D7D545 #45D78C #4547D7 #D74590
square
#D7D545 #45D78C #4547D7 #D74590
split-complementary
#D7D545 #4590D7 #8C45D7
monochromatic
#85841D #B7B527 #D7D545 #E2E077 #EDECAA

Accessibility & contrast

On white

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

On black

13.49
#D7D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D545
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D545#FFFFFF#000000##000000
##D7D5451.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC2F
Deuteranopia (green-blind)
#E8D14F
Tritanopia (blue-blind)
#E6C8B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d545;
/* rgb */ color: rgb(215, 213, 69);
/* oklch */ color: oklch(84.9% 0.160 108.6);
Tailwind
colors: {
  custom: {
    50: '#e7e181',
    500: '#d7d545',
    950: '#000000',
  },
}
SCSS
$custom: #d7d545;
$custom-light: #e7e181;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d545",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 59.178,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84928,
    "c": 0.15995,
    "h": 108.6
  },
  "luminance": 0.62465
}

Semantic roles & 50–950 ramp

primary
#D7D545
secondary
#35368C
accent
#43E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D545

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

Preview Lab → · Contrast checker → · Palette generator →

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