#D7C164#D7C164

#D7C164 is a light, moderate yellow. Relative luminance 0.535; OKLCH L 81.1% C 0.116 H 96.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D7C164
RGBrgb(215, 193, 100)
HSLhsl(49, 59%, 62%)
HSVhsv(49, 53%, 84%)
CMYKcmyk(0%, 10.2%, 53.5%, 15.7%)
CIE-LABlab(78.17, -3.93, 49.10)
CIE-LCHlch(78.17, 49.26, 94.58°)
OKLaboklab(81.05% -0.0128 0.1157)
OKLCHoklch(81.05% 0.116 96.3)
XYZxyz(49.3963, 53.5092, 19.7805)
Luminance0.5351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C164 #647AD7
analogous
#D78864 #D7C164 #B3D764
triadic
#D7C164 #64D7C1 #C164D7
tetradic
#D7C164 #64D788 #647AD7 #D764B3
square
#D7C164 #64D788 #647AD7 #D764B3
split-complementary
#D7C164 #64B3D7 #8864D7
monochromatic
#998328 #CAAD34 #D7C164 #E4D495 #F0E8C5

Accessibility & contrast

On white

1.79
#D7C164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D7C164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C164
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C164#FFFFFF#000000##000000
##D7C1641.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD5B
Deuteranopia (green-blind)
#D7C468
Tritanopia (blue-blind)
#E6B5AC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d7c164;
/* rgb */ color: rgb(215, 193, 100);
/* oklch */ color: oklch(81.1% 0.116 96.3);
Tailwind
colors: {
  custom: {
    50: '#e6d392',
    500: '#d7c164',
    950: '#000000',
  },
}
SCSS
$custom: #d7c164;
$custom-light: #e6d392;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c164",
  "rgb": {
    "r": 215,
    "g": 193,
    "b": 100
  },
  "hsl": {
    "h": 48.522,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.81054,
    "c": 0.11636,
    "h": 96.3
  },
  "luminance": 0.53507
}

Semantic roles & 50–950 ramp

primary
#D7C164
secondary
#42539E
accent
#3FC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C164

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

Preview Lab → · Contrast checker → · Palette generator →

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