#D7D654#D7D654

#D7D654 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.3% C 0.150 H 108.8°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D7D654
RGBrgb(215, 214, 84)
HSLhsl(60, 62%, 59%)
HSVhsv(60, 61%, 84%)
CMYKcmyk(0%, 0.5%, 60.9%, 15.7%)
CIE-LABlab(83.54, -15.77, 62.35)
CIE-LCHlch(83.54, 64.32, 104.19°)
OKLaboklab(85.27% -0.0484 0.1422)
OKLCHoklch(85.27% 0.15 108.8)
XYZxyz(53.6728, 63.1818, 17.7538)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D654 #5455D7
analogous
#D79454 #D7D654 #96D754
triadic
#D7D654 #54D7D6 #D654D7
tetradic
#D7D654 #54D794 #5455D7 #D75496
square
#D7D654 #54D794 #5455D7 #D75496
split-complementary
#D7D654 #5496D7 #9454D7
monochromatic
#8F8E21 #C1C02D #D7D654 #E3E286 #EEEEB7

Accessibility & contrast

On white

1.54
#D7D654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D7D654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D654
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D654#FFFFFF#000000##000000
##D7D6541.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d654;
/* rgb */ color: rgb(215, 214, 84);
/* oklch */ color: oklch(85.3% 0.150 108.8);
Tailwind
colors: {
  custom: {
    50: '#e6e28a',
    500: '#d7d654',
    950: '#000000',
  },
}
SCSS
$custom: #d7d654;
$custom-light: #e6e28a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d654",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 84
  },
  "hsl": {
    "h": 59.542,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85265,
    "c": 0.15018,
    "h": 108.8
  },
  "luminance": 0.6318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D654

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

Preview Lab → · Contrast checker → · Palette generator →

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