#D7DA5B#D7DA5B

#D7DA5B is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.2% C 0.149 H 110.4°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D7DA5B
RGBrgb(215, 218, 91)
HSLhsl(61, 63%, 61%)
HSVhsv(61, 58%, 85%)
CMYKcmyk(1.4%, 0%, 58.3%, 14.5%)
CIE-LABlab(84.66, -17.27, 60.61)
CIE-LCHlch(84.66, 63.02, 105.90°)
OKLaboklab(86.18% -0.0519 0.1394)
OKLCHoklch(86.18% 0.149 110.4)
XYZxyz(54.9856, 65.3466, 19.6121)
Luminance0.6534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7DA5B #5E5BDA
analogous
#DA9D5B #D7DA5B #98DA5B
triadic
#D7DA5B #5BD7DA #DA5BD7
tetradic
#D7DA5B #5BDA9D #5E5BDA #DA5B98
square
#D7DA5B #5BDA9D #5E5BDA #DA5B98
split-complementary
#D7DA5B #5B98DA #9D5BDA
monochromatic
#959822 #C6CA2E #D7DA5B #E3E58D #EFF1BF

Accessibility & contrast

On white

1.49
#D7DA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D7DA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7DA5B
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7DA5B#FFFFFF#000000##000000
##D7DA5B1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14D
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#E5CEBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7da5b;
/* rgb */ color: rgb(215, 218, 91);
/* oklch */ color: oklch(86.2% 0.149 110.4);
Tailwind
colors: {
  custom: {
    50: '#e6e58e',
    500: '#d7da5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7da5b;
$custom-light: #e6e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7da5b",
  "rgb": {
    "r": 215,
    "g": 218,
    "b": 91
  },
  "hsl": {
    "h": 61.417,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86181,
    "c": 0.14874,
    "h": 110.4
  },
  "luminance": 0.65345
}

Semantic roles & 50–950 ramp

primary
#D7DA5B
secondary
#3F3D9D
accent
#1BCB1F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7DA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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