#D7DC6A#D7DC6A

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

Color values

HEX#D7DC6A
RGBrgb(215, 220, 106)
HSLhsl(63, 62%, 64%)
HSVhsv(63, 52%, 86%)
CMYKcmyk(2.3%, 0%, 51.8%, 13.7%)
CIE-LABlab(85.34, -17.09, 54.69)
CIE-LCHlch(85.34, 57.30, 107.36°)
OKLaboklab(86.77% -0.0498 0.1284)
OKLCHoklch(86.77% 0.138 111.2)
XYZxyz(56.2203, 66.6753, 23.5409)
Luminance0.6667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DC6A #6F6ADC
analogous
#DCA86A #D7DC6A #9EDC6A
triadic
#D7DC6A #6AD7DC #DC6AD7
tetradic
#D7DC6A #6ADCA8 #6F6ADC #DC6A9E
square
#D7DC6A #6ADCA8 #6F6ADC #DC6A9E
split-complementary
#D7DC6A #6A9EDC #A86ADC
monochromatic
#9FA527 #CAD038 #D7DC6A #E4E89C #F2F3CD

Accessibility & contrast

On white

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

On black

14.33
#D7DC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DC6A
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DC6A#FFFFFF#000000##000000
##D7DC6A1.001.4614.3314.33
#FFFFFF1.461.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD35F
Deuteranopia (green-blind)
#EBD770
Tritanopia (blue-blind)
#E4D0C2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #d7dc6a;
/* rgb */ color: rgb(215, 220, 106);
/* oklch */ color: oklch(86.8% 0.138 111.2);
Tailwind
colors: {
  custom: {
    50: '#e5e698',
    500: '#d7dc6a',
    950: '#000000',
  },
}
SCSS
$custom: #d7dc6a;
$custom-light: #e5e698;
$custom-dark: #000000;
JSON
{
  "hex": "#d7dc6a",
  "rgb": {
    "r": 215,
    "g": 220,
    "b": 106
  },
  "hsl": {
    "h": 62.632,
    "s": 61.957,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86768,
    "c": 0.1377,
    "h": 111.2
  },
  "luminance": 0.66674
}

Semantic roles & 50–950 ramp

primary
#D7DC6A
secondary
#4742A8
accent
#1CCA23
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7DC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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