#D5D970#D5D970

#D5D970 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.0% C 0.129 H 110.8°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D5D970
RGBrgb(213, 217, 112)
HSLhsl(62, 58%, 65%)
HSVhsv(62, 48%, 85%)
CMYKcmyk(1.8%, 0%, 48.4%, 14.9%)
CIE-LABlab(84.45, -15.88, 50.80)
CIE-LCHlch(84.45, 53.23, 107.36°)
OKLaboklab(86.05% -0.0457 0.1205)
OKLCHoklch(86.05% 0.129 110.8)
XYZxyz(55.1791, 64.9428, 24.9546)
Luminance0.6494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D970 #7470D9
analogous
#D9A970 #D5D970 #A1D970
triadic
#D5D970 #70D5D9 #D970D5
tetradic
#D5D970 #70D9A9 #7470D9 #D970A1
square
#D5D970 #70D9A9 #7470D9 #D970A1
split-complementary
#D5D970 #70A1D9 #A970D9
monochromatic
#9FA32B #C7CC40 #D5D970 #E3E6A0 #F1F3D1

Accessibility & contrast

On white

1.50
#D5D970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D5D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D970
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D970#FFFFFF#000000##000000
##D5D9701.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D167
Deuteranopia (green-blind)
#E8D475
Tritanopia (blue-blind)
#E1CEC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d5d970;
/* rgb */ color: rgb(213, 217, 112);
/* oklch */ color: oklch(86.0% 0.129 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e49b',
    500: '#d5d970',
    950: '#000000',
  },
}
SCSS
$custom: #d5d970;
$custom-light: #e4e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d970",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 62.286,
    "s": 58.011,
    "l": 64.51
  },
  "oklch": {
    "l": 0.86046,
    "c": 0.12886,
    "h": 110.8
  },
  "luminance": 0.64942
}

Semantic roles & 50–950 ramp

primary
#D5D970
secondary
#4A46A7
accent
#20C626
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D970

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

Preview Lab → · Contrast checker → · Palette generator →

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