#D7D346#D7D346

#D7D346 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.5% C 0.157 H 107.7°. Best body text is #000000 at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#D7D346
RGBrgb(215, 211, 70)
HSLhsl(58, 64%, 56%)
HSVhsv(58, 67%, 84%)
CMYKcmyk(0%, 1.9%, 67.4%, 15.7%)
CIE-LABlab(82.64, -15.10, 67.00)
CIE-LCHlch(82.64, 68.68, 102.70°)
OKLaboklab(84.51% -0.0479 0.1499)
OKLCHoklch(84.51% 0.157 107.7)
XYZxyz(52.4260, 61.4795, 14.8983)
Luminance0.6148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D346 #464AD7
analogous
#D78A46 #D7D346 #92D746
triadic
#D7D346 #46D7D3 #D346D7
tetradic
#D7D346 #46D78A #464AD7 #D74692
square
#D7D346 #46D78A #464AD7 #D74692
split-complementary
#D7D346 #4692D7 #8A46D7
monochromatic
#86831D #B8B428 #D7D346 #E2DF78 #EDEBAB

Accessibility & contrast

On white

1.58
#D7D346 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.30
#D7D346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D346
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D346#FFFFFF#000000##000000
##D7D3461.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB31
Deuteranopia (green-blind)
#E7D050
Tritanopia (blue-blind)
#E6C6B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d346;
/* rgb */ color: rgb(215, 211, 70);
/* oklch */ color: oklch(84.5% 0.157 107.7);
Tailwind
colors: {
  custom: {
    50: '#e7e081',
    500: '#d7d346',
    950: '#000000',
  },
}
SCSS
$custom: #d7d346;
$custom-light: #e7e081;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d346",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 70
  },
  "hsl": {
    "h": 58.345,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.84512,
    "c": 0.15735,
    "h": 107.7
  },
  "luminance": 0.61478
}

Semantic roles & 50–950 ramp

primary
#D7D346
secondary
#35378C
accent
#45E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D346

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

Preview Lab → · Contrast checker → · Palette generator →

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