#D7D65B#D7D65B

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

Color values

HEX#D7D65B
RGBrgb(215, 214, 91)
HSLhsl(60, 61%, 60%)
HSVhsv(60, 58%, 84%)
CMYKcmyk(0%, 0.5%, 57.7%, 15.7%)
CIE-LABlab(83.60, -15.29, 59.43)
CIE-LCHlch(83.60, 61.37, 104.43°)
OKLaboklab(85.33% -0.0463 0.1369)
OKLCHoklch(85.33% 0.145 108.7)
XYZxyz(53.9608, 63.2970, 19.2706)
Luminance0.6330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D65B #5B5CD7
analogous
#D7985B #D7D65B #9AD75B
triadic
#D7D65B #5BD7D6 #D65BD7
tetradic
#D7D65B #5BD798 #5B5CD7 #D75B9A
square
#D7D65B #5BD798 #5B5CD7 #D75B9A
split-complementary
#D7D65B #5B9AD7 #985BD7
monochromatic
#949324 #C5C430 #D7D65B #E3E28C #EFEFBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D65B#FFFFFF#000000##000000
##D7D65B1.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)
#E6CE4D
Deuteranopia (green-blind)
#E8D262
Tritanopia (blue-blind)
#E5CABC
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d65b;
/* rgb */ color: rgb(215, 214, 91);
/* oklch */ color: oklch(85.3% 0.144 108.7);
Tailwind
colors: {
  custom: {
    50: '#e6e28e',
    500: '#d7d65b',
    950: '#000000',
  },
}
SCSS
$custom: #d7d65b;
$custom-light: #e6e28e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d65b",
  "rgb": {
    "r": 215,
    "g": 214,
    "b": 91
  },
  "hsl": {
    "h": 59.516,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.85332,
    "c": 0.1445,
    "h": 108.7
  },
  "luminance": 0.63296
}

Semantic roles & 50–950 ramp

primary
#D7D65B
secondary
#3E3E99
accent
#45E444
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D65B

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

Preview Lab → · Contrast checker → · Palette generator →

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