#D9D261#D9D261

#D9D261 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.135 H 105.7°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D9D261
RGBrgb(217, 210, 97)
HSLhsl(57, 61%, 62%)
HSVhsv(57, 55%, 85%)
CMYKcmyk(0%, 3.2%, 55.3%, 14.9%)
CIE-LABlab(82.76, -12.03, 55.86)
CIE-LCHlch(82.76, 57.14, 102.15°)
OKLaboklab(84.72% -0.0365 0.1299)
OKLCHoklch(84.72% 0.135 105.7)
XYZxyz(53.8212, 61.7096, 20.3830)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D261 #6168D9
analogous
#D99661 #D9D261 #A4D961
triadic
#D9D261 #61D9D2 #D261D9
tetradic
#D9D261 #61D996 #6168D9 #D961A4
square
#D9D261 #61D996 #6168D9 #D961A4
split-complementary
#D9D261 #61A4D9 #9661D9
monochromatic
#9A9425 #CCC331 #D9D261 #E5E092 #F1EEC4

Accessibility & contrast

On white

1.57
#D9D261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D9D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D261
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D261#FFFFFF#000000##000000
##D9D2611.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB56
Deuteranopia (green-blind)
#E5D067
Tritanopia (blue-blind)
#E7C6B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d261;
/* rgb */ color: rgb(217, 210, 97);
/* oklch */ color: oklch(84.7% 0.135 105.7);
Tailwind
colors: {
  custom: {
    50: '#e7df91',
    500: '#d9d261',
    950: '#000000',
  },
}
SCSS
$custom: #d9d261;
$custom-light: #e7df91;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d261",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 56.5,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84721,
    "c": 0.13496,
    "h": 105.7
  },
  "luminance": 0.61708
}

Semantic roles & 50–950 ramp

primary
#D9D261
secondary
#3F459F
accent
#27C91D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9D261

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

Preview Lab → · Contrast checker → · Palette generator →

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