#D7D93C#D7D93C

#D7D93C 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#D7D93C
RGBrgb(215, 217, 60)
HSLhsl(61, 67%, 54%)
HSVhsv(61, 72%, 85%)
CMYKcmyk(0.9%, 0%, 72.4%, 14.9%)
CIE-LABlab(84.17, -18.55, 72.06)
CIE-LCHlch(84.17, 74.41, 104.44°)
OKLaboklab(85.72% -0.0586 0.1589)
OKLCHoklch(85.72% 0.169 110.2)
XYZxyz(53.6547, 64.4005, 13.8783)
Luminance0.6440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D93C #3E3CD9
analogous
#D98C3C #D7D93C #89D93C
triadic
#D7D93C #3CD7D9 #D93CD7
tetradic
#D7D93C #3CD98C #3E3CD9 #D93C89
square
#D7D93C #3CD98C #3E3CD9 #D93C89
split-complementary
#D7D93C #3C89D9 #8C3CD9
monochromatic
#808119 #B3B523 #D7D93C #E2E36F #ECEDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d7d93c;
/* rgb */ color: rgb(215, 217, 60);
/* oklch */ color: oklch(85.7% 0.169 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e47d',
    500: '#d7d93c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d93c;
$custom-light: #e7e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d93c",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 60
  },
  "hsl": {
    "h": 60.764,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.8572,
    "c": 0.16931,
    "h": 110.2
  },
  "luminance": 0.64399
}

Semantic roles & 50–950 ramp

primary
#D7D93C
secondary
#323188
accent
#3EEA40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D7D93C

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

Preview Lab → · Contrast checker → · Palette generator →

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