#D7D146#D7D146

#D7D146 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.155 H 106.9°. Best body text is #000000 at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#D7D146
RGBrgb(215, 209, 70)
HSLhsl(58, 64%, 56%)
HSVhsv(58, 67%, 84%)
CMYKcmyk(0%, 2.8%, 67.4%, 15.7%)
CIE-LABlab(82.10, -14.10, 66.47)
CIE-LCHlch(82.10, 67.95, 101.98°)
OKLaboklab(84.09% -0.0451 0.1488)
OKLCHoklch(84.09% 0.155 106.9)
XYZxyz(51.9322, 60.4920, 14.7337)
Luminance0.6049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D146 #464CD7
analogous
#D78846 #D7D146 #94D746
triadic
#D7D146 #46D7D1 #D146D7
tetradic
#D7D146 #46D788 #464CD7 #D74694
square
#D7D146 #46D788 #464CD7 #D74694
split-complementary
#D7D146 #4694D7 #8846D7
monochromatic
#86811D #B8B228 #D7D146 #E2DE78 #EDEAAB

Accessibility & contrast

On white

1.60
#D7D146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.10
#D7D146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D146
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D146#FFFFFF#000000##000000
##D7D1461.001.6013.1013.10
#FFFFFF1.601.0021.0021.00
#00000013.1021.001.001.00
##00000013.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C931
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#E6C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d146;
/* rgb */ color: rgb(215, 209, 70);
/* oklch */ color: oklch(84.1% 0.155 106.9);
Tailwind
colors: {
  custom: {
    50: '#e7de81',
    500: '#d7d146',
    950: '#000000',
  },
}
SCSS
$custom: #d7d146;
$custom-light: #e7de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d146",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 70
  },
  "hsl": {
    "h": 57.517,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84088,
    "c": 0.15545,
    "h": 106.9
  },
  "luminance": 0.6049
}

Semantic roles & 50–950 ramp

primary
#D7D146
secondary
#35398C
accent
#47E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D146

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

Preview Lab → · Contrast checker → · Palette generator →

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