#D7C846#D7C846

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

Color values

HEX#D7C846
RGBrgb(215, 200, 70)
HSLhsl(54, 64%, 56%)
HSVhsv(54, 67%, 84%)
CMYKcmyk(0%, 7%, 67.4%, 15.7%)
CIE-LABlab(79.73, -9.57, 64.06)
CIE-LCHlch(79.73, 64.77, 98.49°)
OKLaboklab(82.2% -0.0323 0.1437)
OKLCHoklch(82.2% 0.147 102.7)
XYZxyz(49.7862, 56.1999, 14.0184)
Luminance0.5620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C846 #4655D7
analogous
#D77F46 #D7C846 #9DD746
triadic
#D7C846 #46D7C8 #C846D7
tetradic
#D7C846 #46D77F #4655D7 #D7469D
square
#D7C846 #46D77F #4655D7 #D7469D
split-complementary
#D7C846 #469DD7 #7F46D7
monochromatic
#867B1D #B8A928 #D7C846 #E2D778 #EDE6AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7C846#FFFFFF#000000##000000
##D7C8461.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)
#DAC234
Deuteranopia (green-blind)
#DEC94E
Tritanopia (blue-blind)
#E7BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c846;
/* rgb */ color: rgb(215, 200, 70);
/* oklch */ color: oklch(82.2% 0.147 102.7);
Tailwind
colors: {
  custom: {
    50: '#e7d880',
    500: '#d7c846',
    950: '#000000',
  },
}
SCSS
$custom: #d7c846;
$custom-light: #e7d880;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c846",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 53.793,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82196,
    "c": 0.14725,
    "h": 102.7
  },
  "luminance": 0.56198
}

Semantic roles & 50–950 ramp

primary
#D7C846
secondary
#353E8C
accent
#52E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C846

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

Preview Lab → · Contrast checker → · Palette generator →

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