#D7DC46#D7DC46

#D7DC46 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.4% C 0.166 H 111.3°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#D7DC46
RGBrgb(215, 220, 70)
HSLhsl(62, 68%, 57%)
HSVhsv(62, 68%, 86%)
CMYKcmyk(2.3%, 0%, 68.2%, 13.7%)
CIE-LABlab(85.04, -19.54, 69.40)
CIE-LCHlch(85.04, 72.10, 105.72°)
OKLaboklab(86.43% -0.0604 0.1549)
OKLCHoklch(86.43% 0.166 111.3)
XYZxyz(54.7248, 66.0770, 15.6646)
Luminance0.6608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC46 #4B46DC
analogous
#DC9646 #D7DC46 #8CDC46
triadic
#D7DC46 #46D7DC #DC46D7
tetradic
#D7DC46 #46DC96 #4B46DC #DC468C
square
#D7DC46 #46DC96 #4B46DC #DC468C
split-complementary
#D7DC46 #468CDC #9646DC
monochromatic
#898D1B #BBC024 #D7DC46 #E2E679 #EDEFAD

Accessibility & contrast

On white

1.48
#D7DC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#D7DC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC46
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC46#FFFFFF#000000##000000
##D7DC461.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD22E
Deuteranopia (green-blind)
#EED651
Tritanopia (blue-blind)
#E5CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d7dc46;
/* rgb */ color: rgb(215, 220, 70);
/* oklch */ color: oklch(86.4% 0.166 111.3);
Tailwind
colors: {
  custom: {
    50: '#e7e682',
    500: '#d7dc46',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc46;
$custom-light: #e7e682;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc46",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 70
  },
  "hsl": {
    "h": 62,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.86428,
    "c": 0.16628,
    "h": 111.3
  },
  "luminance": 0.66076
}

Semantic roles & 50–950 ramp

primary
#D7DC46
secondary
#373492
accent
#3DEB43
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7DC46

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

Preview Lab → · Contrast checker → · Palette generator →

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