#D5D261#D5D261

#D5D261 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.4% C 0.135 H 107.6°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D5D261
RGBrgb(213, 210, 97)
HSLhsl(58, 58%, 61%)
HSVhsv(58, 54%, 84%)
CMYKcmyk(0%, 1.4%, 54.5%, 16.5%)
CIE-LABlab(82.43, -13.66, 55.41)
CIE-LCHlch(82.43, 57.07, 103.85°)
OKLaboklab(84.38% -0.0409 0.129)
OKLCHoklch(84.38% 0.135 107.6)
XYZxyz(52.6463, 61.1039, 20.3279)
Luminance0.6110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D261 #6164D5
analogous
#D59861 #D5D261 #9ED561
triadic
#D5D261 #61D5D2 #D261D5
tetradic
#D5D261 #61D598 #6164D5 #D5619E
square
#D5D261 #61D598 #6164D5 #D5619E
split-complementary
#D5D261 #619ED5 #9861D5
monochromatic
#949127 #C5C134 #D5D261 #E2E091 #EFEEC2

Accessibility & contrast

On white

1.59
#D5D261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#D5D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D261
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D261#FFFFFF#000000##000000
##D5D2611.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB56
Deuteranopia (green-blind)
#E3CF67
Tritanopia (blue-blind)
#E3C6B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d5d261;
/* rgb */ color: rgb(213, 210, 97);
/* oklch */ color: oklch(84.4% 0.135 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4df91',
    500: '#d5d261',
    950: '#000000',
  },
}
SCSS
$custom: #d5d261;
$custom-light: #e4df91;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d261",
  "rgb": {
    "r": 213,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 58.448,
    "s": 58,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84384,
    "c": 0.13535,
    "h": 107.6
  },
  "luminance": 0.61102
}

Semantic roles & 50–950 ramp

primary
#D5D261
secondary
#414399
accent
#24C620
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D261

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

Preview Lab → · Contrast checker → · Palette generator →

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