#D7D043#D7D043

#D7D043 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 83.9% C 0.156 H 106.5°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D7D043
RGBrgb(215, 208, 67)
HSLhsl(57, 65%, 55%)
HSVhsv(57, 69%, 84%)
CMYKcmyk(0%, 3.3%, 68.8%, 15.7%)
CIE-LABlab(81.82, -13.76, 67.31)
CIE-LCHlch(81.82, 68.70, 101.55°)
OKLaboklab(83.86% -0.0445 0.15)
OKLCHoklch(83.86% 0.156 106.5)
XYZxyz(51.5953, 59.9659, 14.1659)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D043 #434AD7
analogous
#D78643 #D7D043 #94D743
triadic
#D7D043 #43D7D0 #D043D7
tetradic
#D7D043 #43D786 #434AD7 #D74394
square
#D7D043 #43D786 #434AD7 #D74394
split-complementary
#D7D043 #4394D7 #8643D7
monochromatic
#847F1C #B6AF27 #D7D043 #E2DD75 #ECE9A8

Accessibility & contrast

On white

1.62
#D7D043 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D7D043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D043
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D043#FFFFFF#000000##000000
##D7D0431.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82D
Deuteranopia (green-blind)
#E4CE4D
Tritanopia (blue-blind)
#E6C2B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7d043;
/* rgb */ color: rgb(215, 208, 67);
/* oklch */ color: oklch(83.9% 0.156 106.5);
Tailwind
colors: {
  custom: {
    50: '#e7de7f',
    500: '#d7d043',
    950: '#000000',
  },
}
SCSS
$custom: #d7d043;
$custom-light: #e7de7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d043",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 67
  },
  "hsl": {
    "h": 57.162,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83855,
    "c": 0.15648,
    "h": 106.5
  },
  "luminance": 0.59964
}

Semantic roles & 50–950 ramp

primary
#D7D043
secondary
#34388A
accent
#48E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D043

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

Preview Lab → · Contrast checker → · Palette generator →

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