#D7D65A#D7D65A

#D7D65A is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.145 H 108.7°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D7D65A
RGBrgb(215, 214, 90)
HSLhsl(60, 61%, 60%)
HSVhsv(60, 58%, 84%)
CMYKcmyk(0%, 0.5%, 58.1%, 15.7%)
CIE-LABlab(83.59, -15.36, 59.86)
CIE-LCHlch(83.59, 61.80, 104.39°)
OKLaboklab(85.32% -0.0466 0.1377)
OKLCHoklch(85.32% 0.145 108.7)
XYZxyz(53.9179, 63.2799, 19.0449)
Luminance0.6328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D65A #5A5BD7
analogous
#D7985A #D7D65A #9AD75A
triadic
#D7D65A #5AD7D6 #D65AD7
tetradic
#D7D65A #5AD798 #5A5BD7 #D75A9A
square
#D7D65A #5AD798 #5A5BD7 #D75A9A
split-complementary
#D7D65A #5A9AD7 #985AD7
monochromatic
#939224 #C4C330 #D7D65A #E3E28B #EFEEBD

Accessibility & contrast

On white

1.54
#D7D65A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#D7D65A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D65A
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D65A#FFFFFF#000000##000000
##D7D65A1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE4C
Deuteranopia (green-blind)
#E8D261
Tritanopia (blue-blind)
#E5CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d65a;
/* rgb */ color: rgb(215, 214, 90);
/* oklch */ color: oklch(85.3% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#e6e28d',
    500: '#d7d65a',
    950: '#000000',
  },
}
SCSS
$custom: #d7d65a;
$custom-light: #e6e28d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d65a",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 90
  },
  "hsl": {
    "h": 59.52,
    "s": 60.976,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85322,
    "c": 0.14533,
    "h": 108.7
  },
  "luminance": 0.63278
}

Semantic roles & 50–950 ramp

primary
#D7D65A
secondary
#3D3E98
accent
#45E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D7D65A

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

Preview Lab → · Contrast checker → · Palette generator →

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