#D7D155#D7D155

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

Color values

HEX#D7D155
RGBrgb(215, 209, 85)
HSLhsl(57, 62%, 59%)
HSVhsv(57, 60%, 84%)
CMYKcmyk(0%, 2.8%, 60.5%, 15.7%)
CIE-LABlab(82.22, -13.21, 60.51)
CIE-LCHlch(82.22, 61.93, 102.31°)
OKLaboklab(84.22% -0.041 0.1384)
OKLCHoklch(84.22% 0.144 106.5)
XYZxyz(52.4662, 60.7056, 17.5462)
Luminance0.6070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D155 #555BD7
analogous
#D79055 #D7D155 #9CD755
triadic
#D7D155 #55D7D1 #D155D7
tetradic
#D7D155 #55D790 #555BD7 #D7559C
square
#D7D155 #55D790 #555BD7 #D7559C
split-complementary
#D7D155 #559CD7 #9055D7
monochromatic
#908B22 #C1BA2D #D7D155 #E3DE87 #EEECB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D155#FFFFFF#000000##000000
##D7D1551.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)
#E1CA47
Deuteranopia (green-blind)
#E4CF5C
Tritanopia (blue-blind)
#E6C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d155;
/* rgb */ color: rgb(215, 209, 85);
/* oklch */ color: oklch(84.2% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e6de8a',
    500: '#d7d155',
    950: '#000000',
  },
}
SCSS
$custom: #d7d155;
$custom-light: #e6de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d155",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 57.231,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.84217,
    "c": 0.14435,
    "h": 106.5
  },
  "luminance": 0.60704
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D155

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

Preview Lab → · Contrast checker → · Palette generator →

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