#D7D55A#D7D55A

#D7D55A is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.144 H 108.2°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D7D55A
RGBrgb(215, 213, 90)
HSLhsl(59, 61%, 60%)
HSVhsv(59, 58%, 84%)
CMYKcmyk(0%, 0.9%, 58.1%, 15.7%)
CIE-LABlab(83.32, -14.86, 59.56)
CIE-LCHlch(83.32, 61.39, 104.01°)
OKLaboklab(85.11% -0.0452 0.1371)
OKLCHoklch(85.11% 0.144 108.2)
XYZxyz(53.6656, 62.7753, 18.9608)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D55A #5A5CD7
analogous
#D7975A #D7D55A #9BD75A
triadic
#D7D55A #5AD7D5 #D55AD7
tetradic
#D7D55A #5AD797 #5A5CD7 #D75A9B
square
#D7D55A #5AD797 #5A5CD7 #D75A9B
split-complementary
#D7D55A #5A9BD7 #975AD7
monochromatic
#939124 #C4C230 #D7D55A #E3E28B #EFEEBD

Accessibility & contrast

On white

1.55
#D7D55A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D7D55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D55A
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D55A#FFFFFF#000000##000000
##D7D55A1.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d55a;
/* rgb */ color: rgb(215, 213, 90);
/* oklch */ color: oklch(85.1% 0.144 108.2);
Tailwind
colors: {
  custom: {
    50: '#e6e18d',
    500: '#d7d55a',
    950: '#000000',
  },
}
SCSS
$custom: #d7d55a;
$custom-light: #e6e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d55a",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 90
  },
  "hsl": {
    "h": 59.04,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85111,
    "c": 0.1443,
    "h": 108.2
  },
  "luminance": 0.62774
}

Semantic roles & 50–950 ramp

primary
#D7D55A
secondary
#3D3F98
accent
#46E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D7D55A

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

Preview Lab → · Contrast checker → · Palette generator →

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