#D7D843#D7D843

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

Color values

HEX#D7D843
RGBrgb(215, 216, 67)
HSLhsl(60, 66%, 55%)
HSVhsv(60, 69%, 85%)
CMYKcmyk(0.5%, 0%, 69%, 15.3%)
CIE-LABlab(83.95, -17.73, 69.42)
CIE-LCHlch(83.95, 71.64, 104.33°)
OKLaboklab(85.55% -0.0556 0.1545)
OKLCHoklch(85.55% 0.164 109.8)
XYZxyz(53.5952, 63.9656, 14.8325)
Luminance0.6396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D843 #4443D8
analogous
#D88F43 #D7D843 #8CD843
triadic
#D7D843 #43D7D8 #D843D7
tetradic
#D7D843 #43D88F #4443D8 #D8438C
square
#D7D843 #43D88F #4443D8 #D8438C
split-complementary
#D7D843 #438CD8 #8F43D8
monochromatic
#84851C #B7B826 #D7D843 #E2E376 #EDEDA8

Accessibility & contrast

On white

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

On black

13.79
#D7D843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D843
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D843#FFFFFF#000000##000000
##D7D8431.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d843;
/* rgb */ color: rgb(215, 216, 67);
/* oklch */ color: oklch(85.6% 0.164 109.8);
Tailwind
colors: {
  custom: {
    50: '#e7e380',
    500: '#d7d843',
    950: '#000000',
  },
}
SCSS
$custom: #d7d843;
$custom-light: #e7e380;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d843",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 60.403,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.85552,
    "c": 0.16418,
    "h": 109.8
  },
  "luminance": 0.63964
}

Semantic roles & 50–950 ramp

primary
#D7D843
secondary
#34348C
accent
#3FE940
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D843

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

Preview Lab → · Contrast checker → · Palette generator →

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