#D2D149#D2D149

#D2D149 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.154 H 108.9°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D2D149
RGBrgb(210, 209, 73)
HSLhsl(60, 60%, 55%)
HSVhsv(60, 65%, 82%)
CMYKcmyk(0%, 0.5%, 65.2%, 17.6%)
CIE-LABlab(81.72, -16.02, 64.79)
CIE-LCHlch(81.72, 66.74, 103.89°)
OKLaboklab(83.69% -0.0499 0.1458)
OKLCHoklch(83.69% 0.154 108.9)
XYZxyz(50.5831, 59.7851, 15.1772)
Luminance0.5978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D149 #494AD2
analogous
#D28C49 #D2D149 #8ED249
triadic
#D2D149 #49D2D1 #D149D2
tetradic
#D2D149 #49D28C #494AD2 #D2498E
square
#D2D149 #49D28C #494AD2 #D2498E
split-complementary
#D2D149 #498ED2 #8C49D2
monochromatic
#818020 #B2B12C #D2D149 #DEDD7A #EAEAAB

Accessibility & contrast

On white

1.62
#D2D149 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D2D149 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D149
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D149#FFFFFF#000000##000000
##D2D1491.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C936
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#E0C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d149;
/* rgb */ color: rgb(210, 209, 73);
/* oklch */ color: oklch(83.7% 0.154 108.9);
Tailwind
colors: {
  custom: {
    50: '#e3de83',
    500: '#d2d149',
    950: '#000000',
  },
}
SCSS
$custom: #d2d149;
$custom-light: #e3de83;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d149",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 73
  },
  "hsl": {
    "h": 59.562,
    "s": 60.352,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83691,
    "c": 0.15413,
    "h": 108.9
  },
  "luminance": 0.59784
}

Semantic roles & 50–950 ramp

primary
#D2D149
secondary
#373888
accent
#45E344
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D149

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

Preview Lab → · Contrast checker → · Palette generator →

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