#D7D345#D7D345

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

Color values

HEX#D7D345
RGBrgb(215, 211, 69)
HSLhsl(58, 65%, 56%)
HSVhsv(58, 68%, 84%)
CMYKcmyk(0%, 1.9%, 67.9%, 15.7%)
CIE-LABlab(82.63, -15.15, 67.37)
CIE-LCHlch(82.63, 69.06, 102.68°)
OKLaboklab(84.5% -0.0482 0.1505)
OKLCHoklch(84.5% 0.158 107.8)
XYZxyz(52.3947, 61.4670, 14.7334)
Luminance0.6147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D345 #4549D7
analogous
#D78A45 #D7D345 #92D745
triadic
#D7D345 #45D7D3 #D345D7
tetradic
#D7D345 #45D78A #4549D7 #D74592
square
#D7D345 #45D78A #4549D7 #D74592
split-complementary
#D7D345 #4592D7 #8A45D7
monochromatic
#85821D #B7B327 #D7D345 #E2DF77 #EDEBAA

Accessibility & contrast

On white

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

On black

13.29
#D7D345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D345
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D345#FFFFFF#000000##000000
##D7D3451.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d345;
/* rgb */ color: rgb(215, 211, 69);
/* oklch */ color: oklch(84.5% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#e7e081',
    500: '#d7d345',
    950: '#000000',
  },
}
SCSS
$custom: #d7d345;
$custom-light: #e7e081;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d345",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 69
  },
  "hsl": {
    "h": 58.356,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84504,
    "c": 0.15802,
    "h": 107.8
  },
  "luminance": 0.61465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D345

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

Preview Lab → · Contrast checker → · Palette generator →

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