#D7C767#D7C767

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

Color values

HEX#D7C767
RGBrgb(215, 199, 103)
HSLhsl(51, 58%, 62%)
HSVhsv(51, 52%, 84%)
CMYKcmyk(0%, 7.4%, 52.1%, 15.7%)
CIE-LABlab(79.77, -6.77, 49.55)
CIE-LCHlch(79.77, 50.01, 97.78°)
OKLaboklab(82.33% -0.0206 0.1169)
OKLCHoklch(82.33% 0.119 100)
XYZxyz(50.8976, 56.2751, 21.0105)
Luminance0.5627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C767 #6777D7
analogous
#D78F67 #D7C767 #AFD767
triadic
#D7C767 #67D7C7 #C767D7
tetradic
#D7C767 #67D78F #6777D7 #D767AF
square
#D7C767 #67D78F #6777D7 #D767AF
split-complementary
#D7C767 #67AFD7 #8F67D7
monochromatic
#9B8B29 #CAB537 #D7C767 #E4D997 #F0EBC8

Accessibility & contrast

On white

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

On black

12.25
#D7C767 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C767
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C767#FFFFFF#000000##000000
##D7C7671.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c767;
/* rgb */ color: rgb(215, 199, 103);
/* oklch */ color: oklch(82.3% 0.119 100.0);
Tailwind
colors: {
  custom: {
    50: '#e5d795',
    500: '#d7c767',
    950: '#000000',
  },
}
SCSS
$custom: #d7c767;
$custom-light: #e5d795;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c767",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 103
  },
  "hsl": {
    "h": 51.429,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82328,
    "c": 0.11873,
    "h": 100
  },
  "luminance": 0.56273
}

Semantic roles & 50–950 ramp

primary
#D7C767
secondary
#43509F
accent
#37C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C767

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

Preview Lab → · Contrast checker → · Palette generator →

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