#D6D762#D6D762

#D6D762 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.140 H 109.5°. Best body text is #000000 at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#D6D762
RGBrgb(214, 215, 98)
HSLhsl(61, 59%, 61%)
HSVhsv(61, 54%, 84%)
CMYKcmyk(0.5%, 0%, 54.4%, 15.7%)
CIE-LABlab(83.85, -15.67, 56.59)
CIE-LCHlch(83.85, 58.72, 105.48°)
OKLaboklab(85.54% -0.0465 0.1317)
OKLCHoklch(85.54% 0.14 109.5)
XYZxyz(54.2380, 63.7802, 21.0066)
Luminance0.6378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D762 #6362D7
analogous
#D79E62 #D6D762 #9CD762
triadic
#D6D762 #62D6D7 #D762D6
tetradic
#D6D762 #62D79E #6362D7 #D7629C
square
#D6D762 #62D79E #6362D7 #D7629C
split-complementary
#D6D762 #629CD7 #9E62D7
monochromatic
#979827 #C7C933 #D6D762 #E3E393 #EFF0C4

Accessibility & contrast

On white

1.53
#D6D762 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.76
#D6D762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D762
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D762#FFFFFF#000000##000000
##D6D7621.001.5313.7613.76
#FFFFFF1.531.0021.0021.00
#00000013.7621.001.001.00
##00000013.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#E8D368
Tritanopia (blue-blind)
#E3CBBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d6d762;
/* rgb */ color: rgb(214, 215, 98);
/* oklch */ color: oklch(85.5% 0.140 109.5);
Tailwind
colors: {
  custom: {
    50: '#e5e392',
    500: '#d6d762',
    950: '#000000',
  },
}
SCSS
$custom: #d6d762;
$custom-light: #e5e392;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d762",
  "rgb": {
    "r": 214,
    "g": 215,
    "b": 98
  },
  "hsl": {
    "h": 60.513,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.85536,
    "c": 0.13966,
    "h": 109.5
  },
  "luminance": 0.63779
}

Semantic roles & 50–950 ramp

primary
#D6D762
secondary
#41419D
accent
#1EC720
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D762

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

Preview Lab → · Contrast checker → · Palette generator →

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