#D7D846#D7D846

#D7D846 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.6% C 0.162 H 109.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#D7D846
RGBrgb(215, 216, 70)
HSLhsl(60, 65%, 56%)
HSVhsv(60, 68%, 85%)
CMYKcmyk(0.5%, 0%, 67.6%, 15.3%)
CIE-LABlab(83.97, -17.58, 68.34)
CIE-LCHlch(83.97, 70.56, 104.42°)
OKLaboklab(85.57% -0.0549 0.1527)
OKLCHoklch(85.57% 0.162 109.8)
XYZxyz(53.6875, 64.0025, 15.3188)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D846 #4746D8
analogous
#D89046 #D7D846 #8ED846
triadic
#D7D846 #46D7D8 #D846D7
tetradic
#D7D846 #46D890 #4746D8 #D8468E
square
#D7D846 #46D890 #4746D8 #D8468E
split-complementary
#D7D846 #468ED8 #9046D8
monochromatic
#86871C #B9BA27 #D7D846 #E2E379 #EDEDAB

Accessibility & contrast

On white

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

On black

13.80
#D7D846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D846
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D846#FFFFFF#000000##000000
##D7D8461.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2F
Deuteranopia (green-blind)
#EAD450
Tritanopia (blue-blind)
#E6CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d846;
/* rgb */ color: rgb(215, 216, 70);
/* oklch */ color: oklch(85.6% 0.162 109.8);
Tailwind
colors: {
  custom: {
    50: '#e7e382',
    500: '#d7d846',
    950: '#000000',
  },
}
SCSS
$custom: #d7d846;
$custom-light: #e7e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d846",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 60.411,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85574,
    "c": 0.16226,
    "h": 109.8
  },
  "luminance": 0.64001
}

Semantic roles & 50–950 ramp

primary
#D7D846
secondary
#35358D
accent
#40E841
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D846

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

Preview Lab → · Contrast checker → · Palette generator →

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