#D2D261#D2D261

#D2D261 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.136 H 109.0°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D2D261
RGBrgb(210, 210, 97)
HSLhsl(60, 56%, 60%)
HSVhsv(60, 54%, 82%)
CMYKcmyk(0%, 0%, 53.8%, 17.6%)
CIE-LABlab(82.20, -14.88, 55.07)
CIE-LCHlch(82.20, 57.05, 105.12°)
OKLaboklab(84.14% -0.0442 0.1284)
OKLCHoklch(84.14% 0.136 109)
XYZxyz(51.7840, 60.6592, 20.2875)
Luminance0.6066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D261 #6161D2
analogous
#D29961 #D2D261 #99D261
triadic
#D2D261 #61D2D2 #D261D2
tetradic
#D2D261 #61D299 #6161D2 #D26199
square
#D2D261 #61D299 #6161D2 #D26199
split-complementary
#D2D261 #6199D2 #9961D2
monochromatic
#909029 #BFBF36 #D2D261 #E0E091 #EDEDC0

Accessibility & contrast

On white

1.60
#D2D261 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D2D261 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D261
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D261#FFFFFF#000000##000000
##D2D2611.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA56
Deuteranopia (green-blind)
#E2CE67
Tritanopia (blue-blind)
#DFC6B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d261;
/* rgb */ color: rgb(210, 210, 97);
/* oklch */ color: oklch(84.1% 0.136 109.0);
Tailwind
colors: {
  custom: {
    50: '#e2df91',
    500: '#d2d261',
    950: '#000000',
  },
}
SCSS
$custom: #d2d261;
$custom-light: #e2df91;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d261",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 60,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84135,
    "c": 0.13575,
    "h": 109
  },
  "luminance": 0.60658
}

Semantic roles & 50–950 ramp

primary
#D2D261
secondary
#424296
accent
#22C322
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D261

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

Preview Lab → · Contrast checker → · Palette generator →

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