#D7D93E#D7D93E

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

Color values

HEX#D7D93E
RGBrgb(215, 217, 62)
HSLhsl(61, 67%, 55%)
HSVhsv(61, 71%, 85%)
CMYKcmyk(0.9%, 0%, 71.4%, 14.9%)
CIE-LABlab(84.19, -18.46, 71.40)
CIE-LCHlch(84.19, 73.75, 104.50°)
OKLaboklab(85.73% -0.0581 0.1578)
OKLCHoklch(85.73% 0.168 110.2)
XYZxyz(53.7086, 64.4221, 14.1620)
Luminance0.6442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D93E #403ED9
analogous
#D98D3E #D7D93E #8AD93E
triadic
#D7D93E #3ED7D9 #D93ED7
tetradic
#D7D93E #3ED98D #403ED9 #D93E8A
square
#D7D93E #3ED98D #403ED9 #D93E8A
split-complementary
#D7D93E #3E8AD9 #8D3ED9
monochromatic
#81831A #B4B624 #D7D93E #E2E371 #ECEDA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D93E#FFFFFF#000000##000000
##D7D93E1.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)
#EAD020
Deuteranopia (green-blind)
#ECD44A
Tritanopia (blue-blind)
#E6CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d93e;
/* rgb */ color: rgb(215, 217, 62);
/* oklch */ color: oklch(85.7% 0.168 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e47e',
    500: '#d7d93e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d93e;
$custom-light: #e7e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d93e",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 62
  },
  "hsl": {
    "h": 60.774,
    "s": 67.1,
    "l": 54.706
  },
  "oklch": {
    "l": 0.85732,
    "c": 0.16818,
    "h": 110.2
  },
  "luminance": 0.64421
}

Semantic roles & 50–950 ramp

primary
#D7D93E
secondary
#33328A
accent
#3EEA40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D93E

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

Preview Lab → · Contrast checker → · Palette generator →

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