#D2D481#D2D481

#D2D481 is a very light, moderate yellow. Relative luminance 0.624; OKLCH L 85.0% C 0.106 H 109.6°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D2D481
RGBrgb(210, 212, 129)
HSLhsl(61, 49%, 67%)
HSVhsv(61, 39%, 83%)
CMYKcmyk(0.9%, 0%, 39.2%, 16.9%)
CIE-LABlab(83.11, -12.87, 40.81)
CIE-LCHlch(83.11, 42.79, 107.51°)
OKLaboklab(84.99% -0.0355 0.0994)
OKLCHoklch(84.99% 0.106 109.6)
XYZxyz(54.0850, 62.3746, 29.9550)
Luminance0.6237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D481 #8381D4
analogous
#D4AD81 #D2D481 #A9D481
triadic
#D2D481 #81D2D4 #D481D2
tetradic
#D2D481 #81D4AD #8381D4 #D481A9
square
#D2D481 #81D4AD #8381D4 #D481A9
split-complementary
#D2D481 #81A9D4 #AD81D4
monochromatic
#A0A338 #C2C453 #D2D481 #E2E4AF #F3F3DC

Accessibility & contrast

On white

1.56
#D2D481 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#D2D481 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D481
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D481#FFFFFF#000000##000000
##D2D4811.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD7B
Deuteranopia (green-blind)
#E1D085
Tritanopia (blue-blind)
#DDCBC0
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d481;
/* rgb */ color: rgb(210, 212, 129);
/* oklch */ color: oklch(85.0% 0.106 109.6);
Tailwind
colors: {
  custom: {
    50: '#e1e1a7',
    500: '#d2d481',
    950: '#000000',
  },
}
SCSS
$custom: #d2d481;
$custom-light: #e1e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d481",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 129
  },
  "hsl": {
    "h": 61.446,
    "s": 49.112,
    "l": 66.863
  },
  "oklch": {
    "l": 0.84991,
    "c": 0.10551,
    "h": 109.6
  },
  "luminance": 0.62374
}

Semantic roles & 50–950 ramp

primary
#D2D481
secondary
#5452A7
accent
#29BC2D
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2D481

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

Preview Lab → · Contrast checker → · Palette generator →

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