#D2D761#D2D761

#D2D761 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.2% C 0.141 H 111.3°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D2D761
RGBrgb(210, 215, 97)
HSLhsl(63, 60%, 61%)
HSVhsv(63, 55%, 84%)
CMYKcmyk(2.3%, 0%, 54.9%, 15.7%)
CIE-LABlab(83.53, -17.37, 56.59)
CIE-LCHlch(83.53, 59.20, 107.06°)
OKLaboklab(85.2% -0.0512 0.1316)
OKLCHoklch(85.2% 0.141 111.3)
XYZxyz(53.0377, 63.1667, 20.7054)
Luminance0.6317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D761 #6661D7
analogous
#D7A161 #D2D761 #97D761
triadic
#D2D761 #61D2D7 #D761D2
tetradic
#D2D761 #61D7A1 #6661D7 #D76197
square
#D2D761 #61D7A1 #6661D7 #D76197
split-complementary
#D2D761 #6197D7 #A161D7
monochromatic
#939726 #C2C833 #D2D761 #E0E392 #EEF0C3

Accessibility & contrast

On white

1.54
#D2D761 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#D2D761 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D761
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D761#FFFFFF#000000##000000
##D2D7611.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE55
Deuteranopia (green-blind)
#E6D268
Tritanopia (blue-blind)
#DFCBBD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d761;
/* rgb */ color: rgb(210, 215, 97);
/* oklch */ color: oklch(85.2% 0.141 111.3);
Tailwind
colors: {
  custom: {
    50: '#e2e392',
    500: '#d2d761',
    950: '#000000',
  },
}
SCSS
$custom: #d2d761;
$custom-light: #e2e392;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d761",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 97
  },
  "hsl": {
    "h": 62.542,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.852,
    "c": 0.14125,
    "h": 111.3
  },
  "luminance": 0.63166
}

Semantic roles & 50–950 ramp

primary
#D2D761
secondary
#44409C
accent
#1EC725
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D761

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

Preview Lab → · Contrast checker → · Palette generator →

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