#D7D94E#D7D94E

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

Color values

HEX#D7D94E
RGBrgb(215, 217, 78)
HSLhsl(61, 65%, 58%)
HSVhsv(61, 64%, 85%)
CMYKcmyk(0.9%, 0%, 64.1%, 14.9%)
CIE-LABlab(84.29, -17.62, 65.59)
CIE-LCHlch(84.29, 67.92, 105.04°)
OKLaboklab(85.85% -0.0542 0.1482)
OKLCHoklch(85.85% 0.158 110.1)
XYZxyz(54.2140, 64.6243, 16.8241)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D94E #504ED9
analogous
#D9954E #D7D94E #92D94E
triadic
#D7D94E #4ED7D9 #D94ED7
tetradic
#D7D94E #4ED995 #504ED9 #D94E92
square
#D7D94E #4ED995 #504ED9 #D94E92
split-complementary
#D7D94E #4E92D9 #954ED9
monochromatic
#8C8E1F #BEC029 #D7D94E #E2E480 #EEEFB3

Accessibility & contrast

On white

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

On black

13.92
#D7D94E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D94E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D94E#FFFFFF#000000##000000
##D7D94E1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d94e;
/* rgb */ color: rgb(215, 217, 78);
/* oklch */ color: oklch(85.9% 0.158 110.1);
Tailwind
colors: {
  custom: {
    50: '#e6e486',
    500: '#d7d94e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d94e;
$custom-light: #e6e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d94e",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 78
  },
  "hsl": {
    "h": 60.863,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8585,
    "c": 0.15776,
    "h": 110.1
  },
  "luminance": 0.64623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D94E

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

Preview Lab → · Contrast checker → · Palette generator →

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