#D7C867#D7C867

#D7C867 is a very light, moderate yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.120 H 100.6°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D7C867
RGBrgb(215, 200, 103)
HSLhsl(52, 58%, 62%)
HSVhsv(52, 52%, 84%)
CMYKcmyk(0%, 7%, 52.1%, 15.7%)
CIE-LABlab(80.03, -7.29, 49.86)
CIE-LCHlch(80.03, 50.39, 98.32°)
OKLaboklab(82.54% -0.0221 0.1176)
OKLCHoklch(82.54% 0.12 100.6)
XYZxyz(51.1284, 56.7368, 21.0874)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C867 #6776D7
analogous
#D79067 #D7C867 #AED767
triadic
#D7C867 #67D7C8 #C867D7
tetradic
#D7C867 #67D790 #6776D7 #D767AE
square
#D7C867 #67D790 #6776D7 #D767AE
split-complementary
#D7C867 #67AED7 #9067D7
monochromatic
#9B8C29 #CAB637 #D7C867 #E4DA97 #F0EBC8

Accessibility & contrast

On white

1.70
#D7C867 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#D7C867 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C867
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C867#FFFFFF#000000##000000
##D7C8671.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7c867;
/* rgb */ color: rgb(215, 200, 103);
/* oklch */ color: oklch(82.5% 0.120 100.6);
Tailwind
colors: {
  custom: {
    50: '#e5d895',
    500: '#d7c867',
    950: '#000000',
  },
}
SCSS
$custom: #d7c867;
$custom-light: #e5d895;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c867",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 103
  },
  "hsl": {
    "h": 51.964,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82535,
    "c": 0.11966,
    "h": 100.6
  },
  "luminance": 0.56735
}

Semantic roles & 50–950 ramp

primary
#D7C867
secondary
#434F9F
accent
#36C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C867

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

Preview Lab → · Contrast checker → · Palette generator →

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