#D7D94C#D7D94C

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

Color values

HEX#D7D94C
RGBrgb(215, 217, 76)
HSLhsl(61, 65%, 57%)
HSVhsv(61, 65%, 85%)
CMYKcmyk(0.9%, 0%, 65%, 14.9%)
CIE-LABlab(84.28, -17.74, 66.36)
CIE-LCHlch(84.28, 68.69, 104.96°)
OKLaboklab(85.83% -0.0547 0.1495)
OKLCHoklch(85.83% 0.159 110.1)
XYZxyz(54.1434, 64.5960, 16.4522)
Luminance0.6460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D94C #4E4CD9
analogous
#D9944C #D7D94C #91D94C
triadic
#D7D94C #4CD7D9 #D94CD7
tetradic
#D7D94C #4CD994 #4E4CD9 #D94C91
square
#D7D94C #4CD994 #4E4CD9 #D94C91
split-complementary
#D7D94C #4C91D9 #944CD9
monochromatic
#8B8D1E #BDBF29 #D7D94C #E2E47E #EEEEB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D94C#FFFFFF#000000##000000
##D7D94C1.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)
#EAD038
Deuteranopia (green-blind)
#EBD455
Tritanopia (blue-blind)
#E5CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d94c;
/* rgb */ color: rgb(215, 217, 76);
/* oklch */ color: oklch(85.8% 0.159 110.1);
Tailwind
colors: {
  custom: {
    50: '#e7e485',
    500: '#d7d94c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d94c;
$custom-light: #e7e485;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d94c",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 60.851,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85833,
    "c": 0.15919,
    "h": 110.1
  },
  "luminance": 0.64595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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