#D7C847#D7C847

#D7C847 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.2% C 0.147 H 102.6°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#D7C847
RGBrgb(215, 200, 71)
HSLhsl(54, 64%, 56%)
HSVhsv(54, 67%, 84%)
CMYKcmyk(0%, 7%, 67%, 15.7%)
CIE-LABlab(79.73, -9.51, 63.67)
CIE-LCHlch(79.73, 64.38, 98.50°)
OKLaboklab(82.2% -0.032 0.143)
OKLCHoklch(82.2% 0.147 102.6)
XYZxyz(49.8180, 56.2126, 14.1860)
Luminance0.5621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C847 #4756D7
analogous
#D78047 #D7C847 #9ED747
triadic
#D7C847 #47D7C8 #C847D7
tetradic
#D7C847 #47D780 #4756D7 #D7479E
square
#D7C847 #47D780 #4756D7 #D7479E
split-complementary
#D7C847 #479ED7 #8047D7
monochromatic
#867B1D #B9AA28 #D7C847 #E2D779 #EDE6AC

Accessibility & contrast

On white

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

On black

12.24
#D7C847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C847
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C847#FFFFFF#000000##000000
##D7C8471.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC235
Deuteranopia (green-blind)
#DEC94F
Tritanopia (blue-blind)
#E7BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c847;
/* rgb */ color: rgb(215, 200, 71);
/* oklch */ color: oklch(82.2% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#e7d881',
    500: '#d7c847',
    950: '#000000',
  },
}
SCSS
$custom: #d7c847;
$custom-light: #e7d881;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c847",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 53.75,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82204,
    "c": 0.14655,
    "h": 102.6
  },
  "luminance": 0.56211
}

Semantic roles & 50–950 ramp

primary
#D7C847
secondary
#353F8D
accent
#52E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C847

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

Preview Lab → · Contrast checker → · Palette generator →

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