#D2D950#D2D950

#D2D950 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.157 H 112.1°. Best body text is #000000 at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#D2D950
RGBrgb(210, 217, 80)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 63%, 85%)
CMYKcmyk(3.2%, 0%, 63.1%, 14.9%)
CIE-LABlab(83.92, -19.55, 64.28)
CIE-LCHlch(83.92, 67.19, 106.92°)
OKLaboklab(85.46% -0.0591 0.1458)
OKLCHoklch(85.46% 0.157 112.1)
XYZxyz(52.8406, 63.9077, 17.1397)
Luminance0.6391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D950 #5750D9
analogous
#D99B50 #D2D950 #8DD950
triadic
#D2D950 #50D2D9 #D950D2
tetradic
#D2D950 #50D99B #5750D9 #D9508D
square
#D2D950 #50D99B #5750D9 #D9508D
split-complementary
#D2D950 #508DD9 #9B50D9
monochromatic
#8A8F1F #BAC22A #D2D950 #DFE482 #ECEFB5

Accessibility & contrast

On white

1.52
#D2D950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.78
#D2D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D950
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D950#FFFFFF#000000##000000
##D2D9501.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF3E
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#DFCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d950;
/* rgb */ color: rgb(210, 217, 80);
/* oklch */ color: oklch(85.5% 0.157 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e487',
    500: '#d2d950',
    950: '#000000',
  },
}
SCSS
$custom: #d2d950;
$custom-light: #e3e487;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d950",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 63.066,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85462,
    "c": 0.15735,
    "h": 112.1
  },
  "luminance": 0.63907
}

Semantic roles & 50–950 ramp

primary
#D2D950
secondary
#3D3895
accent
#40E749
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D950

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

Preview Lab → · Contrast checker → · Palette generator →

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