#D7D936#D7D936

#D7D936 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.173 H 110.3°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D7D936
RGBrgb(215, 217, 54)
HSLhsl(61, 68%, 53%)
HSVhsv(61, 75%, 85%)
CMYKcmyk(0.9%, 0%, 75.1%, 14.9%)
CIE-LABlab(84.14, -18.80, 73.95)
CIE-LCHlch(84.14, 76.30, 104.27°)
OKLaboklab(85.69% -0.0598 0.1618)
OKLCHoklch(85.69% 0.173 110.3)
XYZxyz(53.5050, 64.3407, 13.0898)
Luminance0.6434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D936 #3836D9
analogous
#D98936 #D7D936 #85D936
triadic
#D7D936 #36D7D9 #D936D7
tetradic
#D7D936 #36D989 #3836D9 #D93685
square
#D7D936 #36D989 #3836D9 #D93685
split-complementary
#D7D936 #3685D9 #8936D9
monochromatic
#7C7D18 #AFB021 #D7D936 #E1E369 #EBEC9D

Accessibility & contrast

On white

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

On black

13.87
#D7D936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D936
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D936#FFFFFF#000000##000000
##D7D9361.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF09
Deuteranopia (green-blind)
#ECD444
Tritanopia (blue-blind)
#E6CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d936;
/* rgb */ color: rgb(215, 217, 54);
/* oklch */ color: oklch(85.7% 0.173 110.3);
Tailwind
colors: {
  custom: {
    50: '#e7e47a',
    500: '#d7d936',
    950: '#000000',
  },
}
SCSS
$custom: #d7d936;
$custom-light: #e7e47a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d936",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 54
  },
  "hsl": {
    "h": 60.736,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.85685,
    "c": 0.17251,
    "h": 110.3
  },
  "luminance": 0.64339
}

Semantic roles & 50–950 ramp

primary
#D7D936
secondary
#302F84
accent
#3DEB3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D7D936

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

Preview Lab → · Contrast checker → · Palette generator →

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