#D7D94F#D7D94F

#D7D94F is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.9% C 0.157 H 110.1°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D7D94F
RGBrgb(215, 217, 79)
HSLhsl(61, 64%, 58%)
HSVhsv(61, 64%, 85%)
CMYKcmyk(0.9%, 0%, 63.6%, 14.9%)
CIE-LABlab(84.30, -17.56, 65.20)
CIE-LCHlch(84.30, 67.53, 105.07°)
OKLaboklab(85.86% -0.0539 0.1475)
OKLCHoklch(85.86% 0.157 110.1)
XYZxyz(54.2502, 64.6387, 17.0144)
Luminance0.6464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D94F #514FD9
analogous
#D9964F #D7D94F #92D94F
triadic
#D7D94F #4FD7D9 #D94FD7
tetradic
#D7D94F #4FD996 #514FD9 #D94F92
square
#D7D94F #4FD996 #514FD9 #D94F92
split-complementary
#D7D94F #4F92D9 #964FD9
monochromatic
#8D8F1F #BFC12A #D7D94F #E2E481 #EEEFB4

Accessibility & contrast

On white

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

On black

13.93
#D7D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D94F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D94F#FFFFFF#000000##000000
##D7D94F1.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03D
Deuteranopia (green-blind)
#EBD458
Tritanopia (blue-blind)
#E5CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d94f;
/* rgb */ color: rgb(215, 217, 79);
/* oklch */ color: oklch(85.9% 0.157 110.1);
Tailwind
colors: {
  custom: {
    50: '#e6e487',
    500: '#d7d94f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d94f;
$custom-light: #e6e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d94f",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 60.87,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85858,
    "c": 0.15704,
    "h": 110.1
  },
  "luminance": 0.64637
}

Semantic roles & 50–950 ramp

primary
#D7D94F
secondary
#393894
accent
#40E743
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D94F

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

Preview Lab → · Contrast checker → · Palette generator →

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