#D5D461#D5D461

#D5D461 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.137 H 108.5°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D5D461
RGBrgb(213, 212, 97)
HSLhsl(59, 58%, 61%)
HSVhsv(59, 54%, 84%)
CMYKcmyk(0%, 0.5%, 54.5%, 16.5%)
CIE-LABlab(82.97, -14.66, 56.01)
CIE-LCHlch(82.97, 57.90, 104.67°)
OKLaboklab(84.81% -0.0437 0.1303)
OKLCHoklch(84.81% 0.137 108.5)
XYZxyz(53.1432, 62.0976, 20.4935)
Luminance0.6210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D461 #6162D5
analogous
#D59A61 #D5D461 #9CD561
triadic
#D5D461 #61D5D4 #D461D5
tetradic
#D5D461 #61D59A #6162D5 #D5619C
square
#D5D461 #61D59A #6162D5 #D5619C
split-complementary
#D5D461 #619CD5 #9A61D5
monochromatic
#949327 #C5C334 #D5D461 #E2E191 #EFEEC2

Accessibility & contrast

On white

1.56
#D5D461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D5D461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D461
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D461#FFFFFF#000000##000000
##D5D4611.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC55
Deuteranopia (green-blind)
#E5D167
Tritanopia (blue-blind)
#E2C8BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d461;
/* rgb */ color: rgb(213, 212, 97);
/* oklch */ color: oklch(84.8% 0.137 108.5);
Tailwind
colors: {
  custom: {
    50: '#e4e191',
    500: '#d5d461',
    950: '#000000',
  },
}
SCSS
$custom: #d5d461;
$custom-light: #e4e191;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d461",
  "rgb": {
    "r": 213,
    "g": 212,
    "b": 97
  },
  "hsl": {
    "h": 59.483,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84807,
    "c": 0.13747,
    "h": 108.5
  },
  "luminance": 0.62096
}

Semantic roles & 50–950 ramp

primary
#D5D461
secondary
#414299
accent
#21C620
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D461

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

Preview Lab → · Contrast checker → · Palette generator →

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