#D7D841#D7D841

#D7D841 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.165 H 109.8°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D7D841
RGBrgb(215, 216, 65)
HSLhsl(60, 66%, 55%)
HSVhsv(60, 70%, 85%)
CMYKcmyk(0.5%, 0%, 69.9%, 15.3%)
CIE-LABlab(83.94, -17.83, 70.12)
CIE-LCHlch(83.94, 72.35, 104.27°)
OKLaboklab(85.54% -0.0561 0.1556)
OKLCHoklch(85.54% 0.165 109.8)
XYZxyz(53.5362, 63.9420, 14.5219)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D841 #4241D8
analogous
#D88D41 #D7D841 #8CD841
triadic
#D7D841 #41D7D8 #D841D7
tetradic
#D7D841 #41D88D #4241D8 #D8418C
square
#D7D841 #41D88D #4241D8 #D8418C
split-complementary
#D7D841 #418CD8 #8D41D8
monochromatic
#83841B #B5B625 #D7D841 #E2E274 #ECEDA7

Accessibility & contrast

On white

1.52
#D7D841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#D7D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D841
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D841#FFFFFF#000000##000000
##D7D8411.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF27
Deuteranopia (green-blind)
#EBD34C
Tritanopia (blue-blind)
#E6CABB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d841;
/* rgb */ color: rgb(215, 216, 65);
/* oklch */ color: oklch(85.5% 0.165 109.8);
Tailwind
colors: {
  custom: {
    50: '#e7e37f',
    500: '#d7d841',
    950: '#000000',
  },
}
SCSS
$custom: #d7d841;
$custom-light: #e7e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d841",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 60.397,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85539,
    "c": 0.16541,
    "h": 109.8
  },
  "luminance": 0.6394
}

Semantic roles & 50–950 ramp

primary
#D7D841
secondary
#34338A
accent
#3FE940
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D841

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

Preview Lab → · Contrast checker → · Palette generator →

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