#D9D461#D9D461

#D9D461 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.1% C 0.137 H 106.7°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#D9D461
RGBrgb(217, 212, 97)
HSLhsl(58, 61%, 62%)
HSVhsv(58, 55%, 85%)
CMYKcmyk(0%, 2.3%, 55.3%, 14.9%)
CIE-LABlab(83.29, -13.03, 56.46)
CIE-LCHlch(83.29, 57.95, 102.99°)
OKLaboklab(85.14% -0.0393 0.1312)
OKLCHoklch(85.14% 0.137 106.7)
XYZxyz(54.3180, 62.7034, 20.5486)
Luminance0.6270 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D461 #6166D9
analogous
#D99861 #D9D461 #A2D961
triadic
#D9D461 #61D9D4 #D461D9
tetradic
#D9D461 #61D998 #6166D9 #D961A2
square
#D9D461 #61D998 #6166D9 #D961A2
split-complementary
#D9D461 #61A2D9 #9861D9
monochromatic
#9A9625 #CCC531 #D9D461 #E5E192 #F1EFC4

Accessibility & contrast

On white

1.55
#D9D461 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.54
#D9D461 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D461
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D461#FFFFFF#000000##000000
##D9D4611.001.5513.5413.54
#FFFFFF1.551.0021.0021.00
#00000013.5421.001.001.00
##00000013.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD55
Deuteranopia (green-blind)
#E6D267
Tritanopia (blue-blind)
#E7C8BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d461;
/* rgb */ color: rgb(217, 212, 97);
/* oklch */ color: oklch(85.1% 0.137 106.7);
Tailwind
colors: {
  custom: {
    50: '#e7e191',
    500: '#d9d461',
    950: '#000000',
  },
}
SCSS
$custom: #d9d461;
$custom-light: #e7e191;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d461",
  "rgb": {
    "r": 217,
    "g": 212,
    "b": 97
  },
  "hsl": {
    "h": 57.5,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.85141,
    "c": 0.13698,
    "h": 106.7
  },
  "luminance": 0.62702
}

Semantic roles & 50–950 ramp

primary
#D9D461
secondary
#3F439F
accent
#24C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D461

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

Preview Lab → · Contrast checker → · Palette generator →

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