#D7C64E#D7C64E

#D7C64E is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.8% C 0.140 H 101.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D7C64E
RGBrgb(215, 198, 78)
HSLhsl(53, 63%, 57%)
HSVhsv(53, 64%, 84%)
CMYKcmyk(0%, 7.9%, 63.7%, 15.7%)
CIE-LABlab(79.26, -8.08, 60.30)
CIE-LCHlch(79.26, 60.84, 97.64°)
OKLaboklab(81.85% -0.0272 0.137)
OKLCHoklch(81.85% 0.14 101.2)
XYZxyz(49.5956, 55.3874, 15.2847)
Luminance0.5538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C64E #4E5FD7
analogous
#D7824E #D7C64E #A3D74E
triadic
#D7C64E #4ED7C6 #C64ED7
tetradic
#D7C64E #4ED782 #4E5FD7 #D74EA3
square
#D7C64E #4ED782 #4E5FD7 #D74EA3
split-complementary
#D7C64E #4EA3D7 #824ED7
monochromatic
#8B7E1F #BDAB2B #D7C64E #E2D680 #EEE6B2

Accessibility & contrast

On white

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

On black

12.08
#D7C64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C64E
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C64E#FFFFFF#000000##000000
##D7C64E1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C03F
Deuteranopia (green-blind)
#DCC755
Tritanopia (blue-blind)
#E7B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c64e;
/* rgb */ color: rgb(215, 198, 78);
/* oklch */ color: oklch(81.8% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#e7d785',
    500: '#d7c64e',
    950: '#000000',
  },
}
SCSS
$custom: #d7c64e;
$custom-light: #e7d785;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c64e",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 78
  },
  "hsl": {
    "h": 52.555,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81848,
    "c": 0.13965,
    "h": 101.2
  },
  "luminance": 0.55385
}

Semantic roles & 50–950 ramp

primary
#D7C64E
secondary
#384391
accent
#56E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C64E

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

Preview Lab → · Contrast checker → · Palette generator →

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