#D5D770#D5D770

#D5D770 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.6% C 0.127 H 109.8°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D5D770
RGBrgb(213, 215, 112)
HSLhsl(61, 56%, 64%)
HSVhsv(61, 48%, 84%)
CMYKcmyk(0.9%, 0%, 47.9%, 15.7%)
CIE-LABlab(83.92, -14.89, 50.17)
CIE-LCHlch(83.92, 52.33, 106.53°)
OKLaboklab(85.62% -0.0428 0.1191)
OKLCHoklch(85.62% 0.127 109.8)
XYZxyz(54.6668, 63.9181, 24.7838)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D770 #7270D7
analogous
#D7A670 #D5D770 #A2D770
triadic
#D5D770 #70D5D7 #D770D5
tetradic
#D5D770 #70D7A6 #7270D7 #D770A2
square
#D5D770 #70D7A6 #7270D7 #D770A2
split-complementary
#D5D770 #70A2D7 #A670D7
monochromatic
#9EA02D #C7CA40 #D5D770 #E3E4A0 #F1F2D0

Accessibility & contrast

On white

1.52
#D5D770 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D5D770 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D770
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D770#FFFFFF#000000##000000
##D5D7701.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CF67
Deuteranopia (green-blind)
#E6D375
Tritanopia (blue-blind)
#E1CCBF
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d5d770;
/* rgb */ color: rgb(213, 215, 112);
/* oklch */ color: oklch(85.6% 0.127 109.8);
Tailwind
colors: {
  custom: {
    50: '#e4e39b',
    500: '#d5d770',
    950: '#000000',
  },
}
SCSS
$custom: #d5d770;
$custom-light: #e4e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d770",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 112
  },
  "hsl": {
    "h": 61.165,
    "s": 56.284,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85622,
    "c": 0.12656,
    "h": 109.8
  },
  "luminance": 0.63917
}

Semantic roles & 50–950 ramp

primary
#D5D770
secondary
#4947A4
accent
#22C425
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D770

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

Preview Lab → · Contrast checker → · Palette generator →

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