#D7C646#D7C646

#D7C646 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.8% C 0.146 H 101.7°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D7C646
RGBrgb(215, 198, 70)
HSLhsl(53, 64%, 56%)
HSVhsv(53, 67%, 84%)
CMYKcmyk(0%, 7.9%, 67.4%, 15.7%)
CIE-LABlab(79.20, -8.55, 63.52)
CIE-LCHlch(79.20, 64.09, 97.66°)
OKLaboklab(81.78% -0.0294 0.1425)
OKLCHoklch(81.78% 0.146 101.7)
XYZxyz(49.3260, 55.2795, 13.8650)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C646 #4657D7
analogous
#D77E46 #D7C646 #9FD746
triadic
#D7C646 #46D7C6 #C646D7
tetradic
#D7C646 #46D77E #4657D7 #D7469F
square
#D7C646 #46D77E #4657D7 #D7469F
split-complementary
#D7C646 #469FD7 #7E46D7
monochromatic
#86791D #B8A728 #D7C646 #E2D678 #EDE5AB

Accessibility & contrast

On white

1.74
#D7C646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D7C646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C646
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C646#FFFFFF#000000##000000
##D7C6461.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C034
Deuteranopia (green-blind)
#DDC74E
Tritanopia (blue-blind)
#E7B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c646;
/* rgb */ color: rgb(215, 198, 70);
/* oklch */ color: oklch(81.8% 0.146 101.7);
Tailwind
colors: {
  custom: {
    50: '#e7d780',
    500: '#d7c646',
    950: '#000000',
  },
}
SCSS
$custom: #d7c646;
$custom-light: #e7d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c646",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 52.966,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81779,
    "c": 0.14553,
    "h": 101.7
  },
  "luminance": 0.55277
}

Semantic roles & 50–950 ramp

primary
#D7C646
secondary
#353F8C
accent
#54E740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C646

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

Preview Lab → · Contrast checker → · Palette generator →

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