#D7C863#D7C863

#D7C863 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.123 H 101.0°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D7C863
RGBrgb(215, 200, 99)
HSLhsl(52, 59%, 62%)
HSVhsv(52, 54%, 84%)
CMYKcmyk(0%, 7%, 54%, 15.7%)
CIE-LABlab(79.99, -7.62, 51.70)
CIE-LCHlch(79.99, 52.26, 98.38°)
OKLaboklab(82.49% -0.0235 0.1212)
OKLCHoklch(82.49% 0.123 101)
XYZxyz(50.9324, 56.6584, 20.0552)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C863 #6372D7
analogous
#D78E63 #D7C863 #ACD763
triadic
#D7C863 #63D7C8 #C863D7
tetradic
#D7C863 #63D78E #6372D7 #D763AC
square
#D7C863 #63D78E #6372D7 #D763AC
split-complementary
#D7C863 #63ACD7 #8E63D7
monochromatic
#988A27 #C9B634 #D7C863 #E3D994 #F0EAC4

Accessibility & contrast

On white

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

On black

12.33
#D7C863 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C863
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C863#FFFFFF#000000##000000
##D7C8631.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C359
Deuteranopia (green-blind)
#DCC968
Tritanopia (blue-blind)
#E5BCB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c863;
/* rgb */ color: rgb(215, 200, 99);
/* oklch */ color: oklch(82.5% 0.123 101.0);
Tailwind
colors: {
  custom: {
    50: '#e6d892',
    500: '#d7c863',
    950: '#000000',
  },
}
SCSS
$custom: #d7c863;
$custom-light: #e6d892;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c863",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 99
  },
  "hsl": {
    "h": 52.241,
    "s": 59.184,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82486,
    "c": 0.12347,
    "h": 101
  },
  "luminance": 0.56656
}

Semantic roles & 50–950 ramp

primary
#D7C863
secondary
#414D9D
accent
#34C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7C863

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

Preview Lab → · Contrast checker → · Palette generator →

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