#D7DC6F#D7DC6F

#D7DC6F is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 86.8% C 0.133 H 111.2°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#D7DC6F
RGBrgb(215, 220, 111)
HSLhsl(63, 61%, 65%)
HSVhsv(63, 50%, 86%)
CMYKcmyk(2.3%, 0%, 49.5%, 13.7%)
CIE-LABlab(85.39, -16.66, 52.43)
CIE-LCHlch(85.39, 55.01, 107.63°)
OKLaboklab(86.83% -0.0481 0.1239)
OKLCHoklch(86.83% 0.133 111.2)
XYZxyz(56.4879, 66.7823, 24.9504)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC6F #746FDC
analogous
#DCAA6F #D7DC6F #A1DC6F
triadic
#D7DC6F #6FD7DC #DC6FD7
tetradic
#D7DC6F #6FDCAA #746FDC #DC6FA1
square
#D7DC6F #6FDCAA #746FDC #DC6FA1
split-complementary
#D7DC6F #6FA1DC #AA6FDC
monochromatic
#A2A829 #C9D03E #D7DC6F #E5E8A0 #F2F4D1

Accessibility & contrast

On white

1.46
#D7DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#D7DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC6F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC6F#FFFFFF#000000##000000
##D7DC6F1.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD465
Deuteranopia (green-blind)
#EBD775
Tritanopia (blue-blind)
#E3D1C3
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc6f;
/* rgb */ color: rgb(215, 220, 111);
/* oklch */ color: oklch(86.8% 0.133 111.2);
Tailwind
colors: {
  custom: {
    50: '#e5e69b',
    500: '#d7dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc6f;
$custom-light: #e5e69b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc6f",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 62.752,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86829,
    "c": 0.13294,
    "h": 111.2
  },
  "luminance": 0.66781
}

Semantic roles & 50–950 ramp

primary
#D7DC6F
secondary
#4945AB
accent
#1DC925
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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