#D7D943#D7D943

#D7D943 is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 85.8% C 0.165 H 110.2°. Best body text is #000000 at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#D7D943
RGBrgb(215, 217, 67)
HSLhsl(61, 66%, 56%)
HSVhsv(61, 69%, 85%)
CMYKcmyk(0.9%, 0%, 69.1%, 14.9%)
CIE-LABlab(84.21, -18.22, 69.68)
CIE-LCHlch(84.21, 72.02, 104.66°)
OKLaboklab(85.77% -0.057 0.155)
OKLCHoklch(85.77% 0.165 110.2)
XYZxyz(53.8521, 64.4795, 14.9181)
Luminance0.6448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D943 #4543D9
analogous
#D99043 #D7D943 #8CD943
triadic
#D7D943 #43D7D9 #D943D7
tetradic
#D7D943 #43D990 #4543D9 #D9438C
square
#D7D943 #43D990 #4543D9 #D9438C
split-complementary
#D7D943 #438CD9 #9043D9
monochromatic
#85861B #B7B925 #D7D943 #E2E376 #EDEEA9

Accessibility & contrast

On white

1.51
#D7D943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.90
#D7D943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D943
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D943#FFFFFF#000000##000000
##D7D9431.001.5113.9013.90
#FFFFFF1.511.0021.0021.00
#00000013.9021.001.001.00
##00000013.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD02A
Deuteranopia (green-blind)
#EBD44E
Tritanopia (blue-blind)
#E6CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d943;
/* rgb */ color: rgb(215, 217, 67);
/* oklch */ color: oklch(85.8% 0.165 110.2);
Tailwind
colors: {
  custom: {
    50: '#e7e480',
    500: '#d7d943',
    950: '#000000',
  },
}
SCSS
$custom: #d7d943;
$custom-light: #e7e480;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d943",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 67
  },
  "hsl": {
    "h": 60.8,
    "s": 66.372,
    "l": 55.686
  },
  "oklch": {
    "l": 0.85766,
    "c": 0.16516,
    "h": 110.2
  },
  "luminance": 0.64478
}

Semantic roles & 50–950 ramp

primary
#D7D943
secondary
#35338D
accent
#3FE941
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D943

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

Preview Lab → · Contrast checker → · Palette generator →

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