#D7D745#D7D745

#D7D745 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.4% C 0.162 H 109.4°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D7D745
RGBrgb(215, 215, 69)
HSLhsl(60, 65%, 56%)
HSVhsv(60, 68%, 84%)
CMYKcmyk(0%, 0%, 67.9%, 15.7%)
CIE-LABlab(83.69, -17.14, 68.43)
CIE-LCHlch(83.69, 70.55, 104.06°)
OKLaboklab(85.35% -0.0537 0.1527)
OKLCHoklch(85.35% 0.162 109.4)
XYZxyz(53.4008, 63.4792, 15.0688)
Luminance0.6348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D745 #4545D7
analogous
#D78E45 #D7D745 #8ED745
triadic
#D7D745 #45D7D7 #D745D7
tetradic
#D7D745 #45D78E #4545D7 #D7458E
square
#D7D745 #45D78E #4545D7 #D7458E
split-complementary
#D7D745 #458ED7 #8E45D7
monochromatic
#85851D #B7B727 #D7D745 #E2E277 #EDEDAA

Accessibility & contrast

On white

1.53
#D7D745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D7D745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D745
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D745#FFFFFF#000000##000000
##D7D7451.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2E
Deuteranopia (green-blind)
#EAD34F
Tritanopia (blue-blind)
#E6CABA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d745;
/* rgb */ color: rgb(215, 215, 69);
/* oklch */ color: oklch(85.4% 0.162 109.4);
Tailwind
colors: {
  custom: {
    50: '#e7e381',
    500: '#d7d745',
    950: '#000000',
  },
}
SCSS
$custom: #d7d745;
$custom-light: #e7e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d745",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 69
  },
  "hsl": {
    "h": 60,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85354,
    "c": 0.16191,
    "h": 109.4
  },
  "luminance": 0.63478
}

Semantic roles & 50–950 ramp

primary
#D7D745
secondary
#35358C
accent
#40E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D745

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

Preview Lab → · Contrast checker → · Palette generator →

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