#D7D954#D7D954

#D7D954 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.9% C 0.153 H 110.0°. Best body text is #000000 at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#D7D954
RGBrgb(215, 217, 84)
HSLhsl(61, 64%, 59%)
HSVhsv(61, 61%, 85%)
CMYKcmyk(0.9%, 0%, 61.3%, 14.9%)
CIE-LABlab(84.34, -17.25, 63.21)
CIE-LCHlch(84.34, 65.52, 105.26°)
OKLaboklab(85.9% -0.0525 0.144)
OKLCHoklch(85.9% 0.153 110)
XYZxyz(54.4390, 64.7143, 18.0092)
Luminance0.6471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D954 #5654D9
analogous
#D99954 #D7D954 #95D954
triadic
#D7D954 #54D7D9 #D954D7
tetradic
#D7D954 #54D999 #5654D9 #D95495
square
#D7D954 #54D999 #5654D9 #D95495
split-complementary
#D7D954 #5495D9 #9954D9
monochromatic
#909220 #C2C42C #D7D954 #E3E486 #EEEFB8

Accessibility & contrast

On white

1.51
#D7D954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.94
#D7D954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D954
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D954#FFFFFF#000000##000000
##D7D9541.001.5113.9413.94
#FFFFFF1.511.0021.0021.00
#00000013.9421.001.001.00
##00000013.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D044
Deuteranopia (green-blind)
#EAD45C
Tritanopia (blue-blind)
#E5CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d954;
/* rgb */ color: rgb(215, 217, 84);
/* oklch */ color: oklch(85.9% 0.153 110.0);
Tailwind
colors: {
  custom: {
    50: '#e6e48a',
    500: '#d7d954',
    950: '#000000',
  },
}
SCSS
$custom: #d7d954;
$custom-light: #e6e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d954",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 84
  },
  "hsl": {
    "h": 60.902,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85902,
    "c": 0.15328,
    "h": 110
  },
  "luminance": 0.64713
}

Semantic roles & 50–950 ramp

primary
#D7D954
secondary
#3B3A97
accent
#41E744
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D954

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

Preview Lab → · Contrast checker → · Palette generator →

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