#D7C770#D7C770

#D7C770 is a very light, moderate yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.110 H 99.1°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D7C770
RGBrgb(215, 199, 112)
HSLhsl(51, 56%, 64%)
HSVhsv(51, 48%, 84%)
CMYKcmyk(0%, 7.4%, 47.9%, 15.7%)
CIE-LABlab(79.88, -5.98, 45.31)
CIE-LCHlch(79.88, 45.70, 97.52°)
OKLaboklab(82.45% -0.0174 0.1084)
OKLCHoklch(82.45% 0.11 99.1)
XYZxyz(51.3738, 56.4656, 23.5189)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C770 #7080D7
analogous
#D79470 #D7C770 #B4D770
triadic
#D7C770 #70D7C7 #C770D7
tetradic
#D7C770 #70D794 #7080D7 #D770B4
square
#D7C770 #70D794 #7080D7 #D770B4
split-complementary
#D7C770 #70B4D7 #9470D7
monochromatic
#A08E2D #CAB440 #D7C770 #E4DAA0 #F2ECD0

Accessibility & contrast

On white

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

On black

12.29
#D7C770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C770
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C770#FFFFFF#000000##000000
##D7C7701.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C369
Deuteranopia (green-blind)
#DAC974
Tritanopia (blue-blind)
#E5BCB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c770;
/* rgb */ color: rgb(215, 199, 112);
/* oklch */ color: oklch(82.4% 0.110 99.1);
Tailwind
colors: {
  custom: {
    50: '#e5d79b',
    500: '#d7c770',
    950: '#000000',
  },
}
SCSS
$custom: #d7c770;
$custom-light: #e5d79b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c770",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 112
  },
  "hsl": {
    "h": 50.68,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.82449,
    "c": 0.10974,
    "h": 99.1
  },
  "luminance": 0.56464
}

Semantic roles & 50–950 ramp

primary
#D7C770
secondary
#4756A4
accent
#3BC422
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7C770

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

Preview Lab → · Contrast checker → · Palette generator →

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