#D7D93B#D7D93B

#D7D93B 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#D7D93B
RGBrgb(215, 217, 59)
HSLhsl(61, 68%, 54%)
HSVhsv(61, 73%, 85%)
CMYKcmyk(0.9%, 0%, 72.8%, 14.9%)
CIE-LABlab(84.17, -18.60, 72.39)
CIE-LCHlch(84.17, 74.74, 104.41°)
OKLaboklab(85.71% -0.0588 0.1594)
OKLCHoklch(85.71% 0.17 110.2)
XYZxyz(53.6285, 64.3901, 13.7404)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D93B #3D3BD9
analogous
#D98C3B #D7D93B #88D93B
triadic
#D7D93B #3BD7D9 #D93BD7
tetradic
#D7D93B #3BD98C #3D3BD9 #D93B88
square
#D7D93B #3BD98C #3D3BD9 #D93B88
split-complementary
#D7D93B #3B88D9 #8C3BD9
monochromatic
#7F8119 #B2B423 #D7D93B #E1E36E #ECEDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D93B#FFFFFF#000000##000000
##D7D93B1.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)
#EAD019
Deuteranopia (green-blind)
#ECD448
Tritanopia (blue-blind)
#E6CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d93b;
/* rgb */ color: rgb(215, 217, 59);
/* oklch */ color: oklch(85.7% 0.170 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e47c',
    500: '#d7d93b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d93b;
$custom-light: #e7e47c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d93b",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 59
  },
  "hsl": {
    "h": 60.759,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.85714,
    "c": 0.16986,
    "h": 110.2
  },
  "luminance": 0.64389
}

Semantic roles & 50–950 ramp

primary
#D7D93B
secondary
#323188
accent
#3DEA40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D7D93B

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

Preview Lab → · Contrast checker → · Palette generator →

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