#D7D154#D7D154

#D7D154 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.2% C 0.145 H 106.5°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D7D154
RGBrgb(215, 209, 84)
HSLhsl(57, 62%, 59%)
HSVhsv(57, 61%, 84%)
CMYKcmyk(0%, 2.8%, 60.9%, 15.7%)
CIE-LABlab(82.21, -13.27, 60.93)
CIE-LCHlch(82.21, 62.35, 102.29°)
OKLaboklab(84.21% -0.0413 0.1392)
OKLCHoklch(84.21% 0.145 106.5)
XYZxyz(52.4268, 60.6898, 17.3384)
Luminance0.6069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D154 #545AD7
analogous
#D78F54 #D7D154 #9BD754
triadic
#D7D154 #54D7D1 #D154D7
tetradic
#D7D154 #54D78F #545AD7 #D7549B
square
#D7D154 #54D78F #545AD7 #D7549B
split-complementary
#D7D154 #549BD7 #8F54D7
monochromatic
#8F8A21 #C1BA2D #D7D154 #E3DE86 #EEECB7

Accessibility & contrast

On white

1.60
#D7D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D7D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D154
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D154#FFFFFF#000000##000000
##D7D1541.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA45
Deuteranopia (green-blind)
#E4CF5B
Tritanopia (blue-blind)
#E6C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d154;
/* rgb */ color: rgb(215, 209, 84);
/* oklch */ color: oklch(84.2% 0.145 106.5);
Tailwind
colors: {
  custom: {
    50: '#e6de89',
    500: '#d7d154',
    950: '#000000',
  },
}
SCSS
$custom: #d7d154;
$custom-light: #e6de89;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d154",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 57.252,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.84208,
    "c": 0.14516,
    "h": 106.5
  },
  "luminance": 0.60688
}

Semantic roles & 50–950 ramp

primary
#D7D154
secondary
#3B3F95
accent
#4AE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D154

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

Preview Lab → · Contrast checker → · Palette generator →

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