#D7C768#D7C768

#D7C768 is a very light, moderate yellow. Relative luminance 0.563; OKLCH L 82.3% C 0.118 H 99.9°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D7C768
RGBrgb(215, 199, 104)
HSLhsl(51, 58%, 63%)
HSVhsv(51, 52%, 84%)
CMYKcmyk(0%, 7.4%, 51.6%, 15.7%)
CIE-LABlab(79.78, -6.69, 49.08)
CIE-LCHlch(79.78, 49.54, 97.76°)
OKLaboklab(82.34% -0.0203 0.116)
OKLCHoklch(82.34% 0.118 99.9)
XYZxyz(50.9480, 56.2953, 21.2764)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C768 #6878D7
analogous
#D78F68 #D7C768 #B0D768
triadic
#D7C768 #68D7C7 #C768D7
tetradic
#D7C768 #68D78F #6878D7 #D768B0
square
#D7C768 #68D78F #6878D7 #D768B0
split-complementary
#D7C768 #68B0D7 #8F68D7
monochromatic
#9B8B29 #CAB538 #D7C768 #E4D998 #F1EBC9

Accessibility & contrast

On white

1.71
#D7C768 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.26
#D7C768 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C768
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C768#FFFFFF#000000##000000
##D7C7681.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C25F
Deuteranopia (green-blind)
#DBC96C
Tritanopia (blue-blind)
#E5BBB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c768;
/* rgb */ color: rgb(215, 199, 104);
/* oklch */ color: oklch(82.3% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#e5d795',
    500: '#d7c768',
    950: '#000000',
  },
}
SCSS
$custom: #d7c768;
$custom-light: #e5d795;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c768",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 104
  },
  "hsl": {
    "h": 51.351,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82341,
    "c": 0.11776,
    "h": 99.9
  },
  "luminance": 0.56293
}

Semantic roles & 50–950 ramp

primary
#D7C768
secondary
#4351A0
accent
#38C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C768

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

Preview Lab → · Contrast checker → · Palette generator →

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