#D7D143#D7D143

#D7D143 is a very light, vivid yellow. Relative luminance 0.605; OKLCH L 84.1% C 0.157 H 106.9°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D7D143
RGBrgb(215, 209, 67)
HSLhsl(58, 65%, 55%)
HSVhsv(58, 69%, 84%)
CMYKcmyk(0%, 2.8%, 68.8%, 15.7%)
CIE-LABlab(82.08, -14.26, 67.58)
CIE-LCHlch(82.08, 69.06, 101.92°)
OKLaboklab(84.07% -0.0459 0.1506)
OKLCHoklch(84.07% 0.157 106.9)
XYZxyz(51.8399, 60.4550, 14.2474)
Luminance0.6045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D143 #4349D7
analogous
#D78743 #D7D143 #93D743
triadic
#D7D143 #43D7D1 #D143D7
tetradic
#D7D143 #43D787 #4349D7 #D74393
square
#D7D143 #43D787 #4349D7 #D74393
split-complementary
#D7D143 #4393D7 #8743D7
monochromatic
#847F1C #B6B027 #D7D143 #E2DD75 #ECEAA8

Accessibility & contrast

On white

1.60
#D7D143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D7D143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D143
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D143#FFFFFF#000000##000000
##D7D1431.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C92D
Deuteranopia (green-blind)
#E5CF4D
Tritanopia (blue-blind)
#E6C3B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d143;
/* rgb */ color: rgb(215, 209, 67);
/* oklch */ color: oklch(84.1% 0.157 106.9);
Tailwind
colors: {
  custom: {
    50: '#e7de80',
    500: '#d7d143',
    950: '#000000',
  },
}
SCSS
$custom: #d7d143;
$custom-light: #e7de80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d143",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 67
  },
  "hsl": {
    "h": 57.568,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84066,
    "c": 0.15741,
    "h": 106.9
  },
  "luminance": 0.60453
}

Semantic roles & 50–950 ramp

primary
#D7D143
secondary
#34378A
accent
#47E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D143

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

Preview Lab → · Contrast checker → · Palette generator →

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