#D7D93D#D7D93D

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

Color values

HEX#D7D93D
RGBrgb(215, 217, 61)
HSLhsl(61, 67%, 55%)
HSVhsv(61, 72%, 85%)
CMYKcmyk(0.9%, 0%, 71.9%, 14.9%)
CIE-LABlab(84.18, -18.51, 71.73)
CIE-LCHlch(84.18, 74.08, 104.47°)
OKLaboklab(85.73% -0.0583 0.1583)
OKLCHoklch(85.73% 0.169 110.2)
XYZxyz(53.6814, 64.4112, 14.0188)
Luminance0.6441 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D93D #3F3DD9
analogous
#D98D3D #D7D93D #89D93D
triadic
#D7D93D #3DD7D9 #D93DD7
tetradic
#D7D93D #3DD98D #3F3DD9 #D93D89
square
#D7D93D #3DD98D #3F3DD9 #D93D89
split-complementary
#D7D93D #3D89D9 #8D3DD9
monochromatic
#818219 #B3B524 #D7D93D #E2E370 #ECEDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D93D#FFFFFF#000000##000000
##D7D93D1.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)
#EAD01E
Deuteranopia (green-blind)
#ECD449
Tritanopia (blue-blind)
#E6CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d93d;
/* rgb */ color: rgb(215, 217, 61);
/* oklch */ color: oklch(85.7% 0.169 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e47d',
    500: '#d7d93d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d93d;
$custom-light: #e7e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d93d",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 61
  },
  "hsl": {
    "h": 60.769,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85726,
    "c": 0.16875,
    "h": 110.2
  },
  "luminance": 0.6441
}

Semantic roles & 50–950 ramp

primary
#D7D93D
secondary
#323189
accent
#3EEA40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D93D

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

Preview Lab → · Contrast checker → · Palette generator →

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