#D7D93A#D7D93A

#D7D93A is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.170 H 110.2°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#D7D93A
RGBrgb(215, 217, 58)
HSLhsl(61, 68%, 54%)
HSVhsv(61, 73%, 85%)
CMYKcmyk(0.9%, 0%, 73.3%, 14.9%)
CIE-LABlab(84.16, -18.64, 72.71)
CIE-LCHlch(84.16, 75.06, 104.38°)
OKLaboklab(85.71% -0.059 0.1599)
OKLCHoklch(85.71% 0.17 110.2)
XYZxyz(53.6028, 64.3798, 13.6051)
Luminance0.6438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D93A #3C3AD9
analogous
#D98C3A #D7D93A #88D93A
triadic
#D7D93A #3AD7D9 #D93AD7
tetradic
#D7D93A #3AD98C #3C3AD9 #D93A88
square
#D7D93A #3AD98C #3C3AD9 #D93A88
split-complementary
#D7D93A #3A88D9 #8C3AD9
monochromatic
#7F8019 #B1B323 #D7D93A #E1E36D #ECEDA1

Accessibility & contrast

On white

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

On black

13.88
#D7D93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D93A
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D93A#FFFFFF#000000##000000
##D7D93A1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD017
Deuteranopia (green-blind)
#ECD447
Tritanopia (blue-blind)
#E6CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d93a;
/* rgb */ color: rgb(215, 217, 58);
/* oklch */ color: oklch(85.7% 0.170 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e47c',
    500: '#d7d93a',
    950: '#000000',
  },
}
SCSS
$custom: #d7d93a;
$custom-light: #e7e47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d93a",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 58
  },
  "hsl": {
    "h": 60.755,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.85708,
    "c": 0.17041,
    "h": 110.2
  },
  "luminance": 0.64378
}

Semantic roles & 50–950 ramp

primary
#D7D93A
secondary
#313087
accent
#3DEB3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D7D93A

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

Preview Lab → · Contrast checker → · Palette generator →

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