#D7D94D#D7D94D

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

Color values

HEX#D7D94D
RGBrgb(215, 217, 77)
HSLhsl(61, 65%, 58%)
HSVhsv(61, 65%, 85%)
CMYKcmyk(0.9%, 0%, 64.5%, 14.9%)
CIE-LABlab(84.28, -17.68, 65.98)
CIE-LCHlch(84.28, 68.31, 105.00°)
OKLaboklab(85.84% -0.0545 0.1488)
OKLCHoklch(85.84% 0.158 110.1)
XYZxyz(54.1785, 64.6101, 16.6368)
Luminance0.6461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D94D #4F4DD9
analogous
#D9954D #D7D94D #91D94D
triadic
#D7D94D #4DD7D9 #D94DD7
tetradic
#D7D94D #4DD995 #4F4DD9 #D94D91
square
#D7D94D #4DD995 #4F4DD9 #D94D91
split-complementary
#D7D94D #4D91D9 #954DD9
monochromatic
#8C8D1E #BEC029 #D7D94D #E2E47F #EEEFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D94D#FFFFFF#000000##000000
##D7D94D1.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)
#E9D03A
Deuteranopia (green-blind)
#EBD456
Tritanopia (blue-blind)
#E5CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d94d;
/* rgb */ color: rgb(215, 217, 77);
/* oklch */ color: oklch(85.8% 0.158 110.1);
Tailwind
colors: {
  custom: {
    50: '#e7e486',
    500: '#d7d94d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d94d;
$custom-light: #e7e486;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d94d",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 77
  },
  "hsl": {
    "h": 60.857,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85841,
    "c": 0.15848,
    "h": 110.1
  },
  "luminance": 0.64609
}

Semantic roles & 50–950 ramp

primary
#D7D94D
secondary
#393793
accent
#40E842
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D94D

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

Preview Lab → · Contrast checker → · Palette generator →

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