#D7D941#D7D941

#D7D941 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.166 H 110.2°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#D7D941
RGBrgb(215, 217, 65)
HSLhsl(61, 67%, 55%)
HSVhsv(61, 70%, 85%)
CMYKcmyk(0.9%, 0%, 70%, 14.9%)
CIE-LABlab(84.20, -18.32, 70.38)
CIE-LCHlch(84.20, 72.72, 104.59°)
OKLaboklab(85.75% -0.0575 0.1562)
OKLCHoklch(85.75% 0.166 110.2)
XYZxyz(53.7932, 64.4559, 14.6076)
Luminance0.6445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D941 #4341D9
analogous
#D98F41 #D7D941 #8BD941
triadic
#D7D941 #41D7D9 #D941D7
tetradic
#D7D941 #41D98F #4341D9 #D9418B
square
#D7D941 #41D98F #4341D9 #D9418B
split-complementary
#D7D941 #418BD9 #8F41D9
monochromatic
#84851B #B6B825 #D7D941 #E2E374 #ECEDA7

Accessibility & contrast

On white

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

On black

13.89
#D7D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D941
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D941#FFFFFF#000000##000000
##D7D9411.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d941;
/* rgb */ color: rgb(215, 217, 65);
/* oklch */ color: oklch(85.8% 0.166 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e47f',
    500: '#d7d941',
    950: '#000000',
  },
}
SCSS
$custom: #d7d941;
$custom-light: #e7e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d941",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 60.789,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85752,
    "c": 0.1664,
    "h": 110.2
  },
  "luminance": 0.64454
}

Semantic roles & 50–950 ramp

primary
#D7D941
secondary
#34338B
accent
#3EEA40
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D941

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

Preview Lab → · Contrast checker → · Palette generator →

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