#D7D55F#D7D55F

#D7D55F is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.2% C 0.140 H 108.1°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#D7D55F
RGBrgb(215, 213, 95)
HSLhsl(59, 60%, 61%)
HSVhsv(59, 56%, 84%)
CMYKcmyk(0%, 0.9%, 55.8%, 15.7%)
CIE-LABlab(83.37, -14.50, 57.41)
CIE-LCHlch(83.37, 59.22, 104.17°)
OKLaboklab(85.16% -0.0436 0.1331)
OKLCHoklch(85.16% 0.14 108.1)
XYZxyz(53.8857, 62.8633, 20.1195)
Luminance0.6286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D55F #5F61D7
analogous
#D7995F #D7D55F #9DD75F
triadic
#D7D55F #5FD7D5 #D55FD7
tetradic
#D7D55F #5FD799 #5F61D7 #D75F9D
square
#D7D55F #5FD799 #5F61D7 #D75F9D
split-complementary
#D7D55F #5F9DD7 #995FD7
monochromatic
#969426 #C7C532 #D7D55F #E3E290 #EFEFC1

Accessibility & contrast

On white

1.55
#D7D55F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.57
#D7D55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D55F
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D55F#FFFFFF#000000##000000
##D7D55F1.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD53
Deuteranopia (green-blind)
#E7D265
Tritanopia (blue-blind)
#E5C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d55f;
/* rgb */ color: rgb(215, 213, 95);
/* oklch */ color: oklch(85.2% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#e6e190',
    500: '#d7d55f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d55f;
$custom-light: #e6e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d55f",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 95
  },
  "hsl": {
    "h": 59,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85162,
    "c": 0.14003,
    "h": 108.1
  },
  "luminance": 0.62862
}

Semantic roles & 50–950 ramp

primary
#D7D55F
secondary
#3F419B
accent
#21C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D55F

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

Preview Lab → · Contrast checker → · Palette generator →

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