#D7D45F#D7D45F

#D7D45F is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.139 H 107.7°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D7D45F
RGBrgb(215, 212, 95)
HSLhsl(59, 60%, 61%)
HSVhsv(59, 56%, 84%)
CMYKcmyk(0%, 1.4%, 55.8%, 15.7%)
CIE-LABlab(83.11, -14.00, 57.11)
CIE-LCHlch(83.11, 58.80, 103.77°)
OKLaboklab(84.95% -0.0422 0.1324)
OKLCHoklch(84.95% 0.139 107.7)
XYZxyz(53.6349, 62.3618, 20.0360)
Luminance0.6236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D45F #5F62D7
analogous
#D7985F #D7D45F #9ED75F
triadic
#D7D45F #5FD7D4 #D45FD7
tetradic
#D7D45F #5FD798 #5F62D7 #D75F9E
square
#D7D45F #5FD798 #5F62D7 #D75F9E
split-complementary
#D7D45F #5F9ED7 #985FD7
monochromatic
#969326 #C7C332 #D7D45F #E3E190 #EFEEC1

Accessibility & contrast

On white

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

On black

13.47
#D7D45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D45F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D45F#FFFFFF#000000##000000
##D7D45F1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d45f;
/* rgb */ color: rgb(215, 212, 95);
/* oklch */ color: oklch(85.0% 0.139 107.7);
Tailwind
colors: {
  custom: {
    50: '#e6e190',
    500: '#d7d45f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d45f;
$custom-light: #e6e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d45f",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 95
  },
  "hsl": {
    "h": 58.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84951,
    "c": 0.13898,
    "h": 107.7
  },
  "luminance": 0.6236
}

Semantic roles & 50–950 ramp

primary
#D7D45F
secondary
#3F429B
accent
#22C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D45F

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

Preview Lab → · Contrast checker → · Palette generator →

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