#D7D366#D7D366

#D7D366 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 84.8% C 0.132 H 107.0°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D7D366
RGBrgb(215, 211, 102)
HSLhsl(58, 59%, 62%)
HSVhsv(58, 53%, 84%)
CMYKcmyk(0%, 1.9%, 52.6%, 15.7%)
CIE-LABlab(82.91, -12.95, 53.71)
CIE-LCHlch(82.91, 55.24, 103.56°)
OKLaboklab(84.82% -0.0384 0.1259)
OKLCHoklch(84.82% 0.132 107)
XYZxyz(53.7183, 61.9964, 21.7046)
Luminance0.6200 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D366 #666AD7
analogous
#D79B66 #D7D366 #A3D766
triadic
#D7D366 #66D7D3 #D366D7
tetradic
#D7D366 #66D79B #666AD7 #D766A3
square
#D7D366 #66D79B #666AD7 #D766A3
split-complementary
#D7D366 #66A3D7 #9B66D7
monochromatic
#9A9628 #CAC535 #D7D366 #E4E197 #F0EFC7

Accessibility & contrast

On white

1.57
#D7D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D7D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D366
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D366#FFFFFF#000000##000000
##D7D3661.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5B
Deuteranopia (green-blind)
#E5D16C
Tritanopia (blue-blind)
#E4C7BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d7d366;
/* rgb */ color: rgb(215, 211, 102);
/* oklch */ color: oklch(84.8% 0.132 107.0);
Tailwind
colors: {
  custom: {
    50: '#e6e095',
    500: '#d7d366',
    950: '#000000',
  },
}
SCSS
$custom: #d7d366;
$custom-light: #e6e095;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d366",
  "rgb": {
    "r": 215,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 57.876,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.8482,
    "c": 0.13159,
    "h": 107
  },
  "luminance": 0.61995
}

Semantic roles & 50–950 ramp

primary
#D7D366
secondary
#42469F
accent
#25C61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D366

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

Preview Lab → · Contrast checker → · Palette generator →

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