#D7C82E#D7C82E

#D7C82E is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.161 H 103.5°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D7C82E
RGBrgb(215, 200, 46)
HSLhsl(55, 68%, 51%)
HSVhsv(55, 79%, 84%)
CMYKcmyk(0%, 7%, 78.6%, 15.7%)
CIE-LABlab(79.59, -10.63, 72.24)
CIE-LCHlch(79.59, 73.02, 98.37°)
OKLaboklab(82.04% -0.0376 0.1567)
OKLCHoklch(82.04% 0.161 103.5)
XYZxyz(49.1740, 55.9550, 10.7944)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C82E #2E3DD7
analogous
#D7742E #D7C82E #91D72E
triadic
#D7C82E #2ED7C8 #C82ED7
tetradic
#D7C82E #2ED774 #2E3DD7 #D72E91
square
#D7C82E #2ED774 #2E3DD7 #D72E91
split-complementary
#D7C82E #2E91D7 #742ED7
monochromatic
#746C16 #A89C20 #D7C82E #E1D661 #EBE395

Accessibility & contrast

On white

1.72
#D7C82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D7C82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C82E
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C82E#FFFFFF#000000##000000
##D7C82E1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC100
Deuteranopia (green-blind)
#DFC83B
Tritanopia (blue-blind)
#E8BAAC
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c82e;
/* rgb */ color: rgb(215, 200, 46);
/* oklch */ color: oklch(82.0% 0.161 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8d874',
    500: '#d7c82e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c82e;
$custom-light: #e8d874;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c82e",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 46
  },
  "hsl": {
    "h": 54.675,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82041,
    "c": 0.16115,
    "h": 103.5
  },
  "luminance": 0.55953
}

Semantic roles & 50–950 ramp

primary
#D7C82E
secondary
#2C347D
accent
#4CEB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D7C82E

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

Preview Lab → · Contrast checker → · Palette generator →

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