#D7D754#D7D754

#D7D754 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.5% C 0.151 H 109.2°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D7D754
RGBrgb(215, 215, 84)
HSLhsl(60, 62%, 59%)
HSVhsv(60, 61%, 84%)
CMYKcmyk(0%, 0%, 60.9%, 15.7%)
CIE-LABlab(83.80, -16.26, 62.64)
CIE-LCHlch(83.80, 64.72, 104.55°)
OKLaboklab(85.48% -0.0498 0.1428)
OKLCHoklch(85.48% 0.151 109.2)
XYZxyz(53.9267, 63.6895, 17.8384)
Luminance0.6369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D754 #5454D7
analogous
#D79554 #D7D754 #95D754
triadic
#D7D754 #54D7D7 #D754D7
tetradic
#D7D754 #54D795 #5454D7 #D75495
square
#D7D754 #54D795 #5454D7 #D75495
split-complementary
#D7D754 #5495D7 #9554D7
monochromatic
#8F8F21 #C1C12D #D7D754 #E3E386 #EEEEB7

Accessibility & contrast

On white

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

On black

13.74
#D7D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D754
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D754#FFFFFF#000000##000000
##D7D7541.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF44
Deuteranopia (green-blind)
#E9D35C
Tritanopia (blue-blind)
#E5CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d754;
/* rgb */ color: rgb(215, 215, 84);
/* oklch */ color: oklch(85.5% 0.151 109.2);
Tailwind
colors: {
  custom: {
    50: '#e6e38a',
    500: '#d7d754',
    950: '#000000',
  },
}
SCSS
$custom: #d7d754;
$custom-light: #e6e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d754",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85477,
    "c": 0.1512,
    "h": 109.2
  },
  "luminance": 0.63688
}

Semantic roles & 50–950 ramp

primary
#D7D754
secondary
#3B3B95
accent
#43E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D754

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

Preview Lab → · Contrast checker → · Palette generator →

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