#D7D955#D7D955

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

Color values

HEX#D7D955
RGBrgb(215, 217, 85)
HSLhsl(61, 63%, 59%)
HSVhsv(61, 61%, 85%)
CMYKcmyk(0.9%, 0%, 60.8%, 14.9%)
CIE-LABlab(84.34, -17.18, 62.80)
CIE-LCHlch(84.34, 65.11, 105.30°)
OKLaboklab(85.91% -0.0523 0.1433)
OKLCHoklch(85.91% 0.153 110)
XYZxyz(54.4785, 64.7301, 18.2169)
Luminance0.6473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D955 #5755D9
analogous
#D99955 #D7D955 #95D955
triadic
#D7D955 #55D7D9 #D955D7
tetradic
#D7D955 #55D999 #5755D9 #D95595
square
#D7D955 #55D999 #5755D9 #D95595
split-complementary
#D7D955 #5595D9 #9955D9
monochromatic
#919321 #C2C52C #D7D955 #E3E487 #EFEFB9

Accessibility & contrast

On white

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

On black

13.95
#D7D955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D955
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D955#FFFFFF#000000##000000
##D7D9551.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d955;
/* rgb */ color: rgb(215, 217, 85);
/* oklch */ color: oklch(85.9% 0.152 110.0);
Tailwind
colors: {
  custom: {
    50: '#e6e48a',
    500: '#d7d955',
    950: '#000000',
  },
}
SCSS
$custom: #d7d955;
$custom-light: #e6e48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d955",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 60.909,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.85911,
    "c": 0.1525,
    "h": 110
  },
  "luminance": 0.64729
}

Semantic roles & 50–950 ramp

primary
#D7D955
secondary
#3C3A98
accent
#41E644
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D955

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

Preview Lab → · Contrast checker → · Palette generator →

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