#D7C64A#D7C64A

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

Color values

HEX#D7C64A
RGBrgb(215, 198, 74)
HSLhsl(53, 64%, 57%)
HSVhsv(53, 66%, 84%)
CMYKcmyk(0%, 7.9%, 65.6%, 15.7%)
CIE-LABlab(79.23, -8.32, 61.94)
CIE-LCHlch(79.23, 62.49, 97.65°)
OKLaboklab(81.81% -0.0283 0.1398)
OKLCHoklch(81.81% 0.143 101.5)
XYZxyz(49.4565, 55.3317, 14.5522)
Luminance0.5533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C64A #4A5BD7
analogous
#D7804A #D7C64A #A2D74A
triadic
#D7C64A #4AD7C6 #C64AD7
tetradic
#D7C64A #4AD780 #4A5BD7 #D74AA2
square
#D7C64A #4AD780 #4A5BD7 #D74AA2
split-complementary
#D7C64A #4AA2D7 #804AD7
monochromatic
#887C1E #BBA929 #D7C64A #E2D67C #EDE6AE

Accessibility & contrast

On white

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

On black

12.07
#D7C64A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C64A
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C64A#FFFFFF#000000##000000
##D7C64A1.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C03A
Deuteranopia (green-blind)
#DDC751
Tritanopia (blue-blind)
#E7B9AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c64a;
/* rgb */ color: rgb(215, 198, 74);
/* oklch */ color: oklch(81.8% 0.143 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7d783',
    500: '#d7c64a',
    950: '#000000',
  },
}
SCSS
$custom: #d7c64a;
$custom-light: #e7d783;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c64a",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 74
  },
  "hsl": {
    "h": 52.766,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.81812,
    "c": 0.14267,
    "h": 101.5
  },
  "luminance": 0.5533
}

Semantic roles & 50–950 ramp

primary
#D7C64A
secondary
#37418F
accent
#55E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C64A

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

Preview Lab → · Contrast checker → · Palette generator →

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