#D7D159#D7D159

#D7D159 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.141 H 106.4°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D7D159
RGBrgb(215, 209, 89)
HSLhsl(57, 61%, 60%)
HSVhsv(57, 59%, 84%)
CMYKcmyk(0%, 2.8%, 58.6%, 15.7%)
CIE-LABlab(82.26, -12.93, 58.82)
CIE-LCHlch(82.26, 60.22, 102.40°)
OKLaboklab(84.26% -0.0398 0.1353)
OKLCHoklch(84.26% 0.141 106.4)
XYZxyz(52.6297, 60.7709, 18.4069)
Luminance0.6077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D159 #595FD7
analogous
#D79259 #D7D159 #9ED759
triadic
#D7D159 #59D7D1 #D159D7
tetradic
#D7D159 #59D792 #595FD7 #D7599E
square
#D7D159 #59D792 #595FD7 #D7599E
split-complementary
#D7D159 #599ED7 #9259D7
monochromatic
#928D23 #C4BD2F #D7D159 #E3DF8A #EFECBC

Accessibility & contrast

On white

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

On black

13.15
#D7D159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D159
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D159#FFFFFF#000000##000000
##D7D1591.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA4C
Deuteranopia (green-blind)
#E4CF60
Tritanopia (blue-blind)
#E5C4B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d159;
/* rgb */ color: rgb(215, 209, 89);
/* oklch */ color: oklch(84.3% 0.141 106.4);
Tailwind
colors: {
  custom: {
    50: '#e6de8c',
    500: '#d7d159',
    950: '#000000',
  },
}
SCSS
$custom: #d7d159;
$custom-light: #e6de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d159",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 89
  },
  "hsl": {
    "h": 57.143,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84256,
    "c": 0.14107,
    "h": 106.4
  },
  "luminance": 0.60769
}

Semantic roles & 50–950 ramp

primary
#D7D159
secondary
#3D4198
accent
#4BE444
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D159

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

Preview Lab → · Contrast checker → · Palette generator →

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