#D2D050#D2D050

#D2D050 is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.5% C 0.148 H 108.4°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D2D050
RGBrgb(210, 208, 80)
HSLhsl(59, 59%, 57%)
HSVhsv(59, 62%, 82%)
CMYKcmyk(0%, 1%, 61.9%, 17.6%)
CIE-LABlab(81.51, -15.10, 61.73)
CIE-LCHlch(81.51, 63.55, 103.74°)
OKLaboklab(83.54% -0.0466 0.1404)
OKLCHoklch(83.54% 0.148 108.4)
XYZxyz(50.5838, 59.3941, 16.3875)
Luminance0.5939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D050 #5052D2
analogous
#D28F50 #D2D050 #93D250
triadic
#D2D050 #50D2D0 #D050D2
tetradic
#D2D050 #50D28F #5052D2 #D25093
square
#D2D050 #50D28F #5052D2 #D25093
split-complementary
#D2D050 #5093D2 #8F50D2
monochromatic
#858422 #B6B42F #D2D050 #DFDD81 #EBEAB1

Accessibility & contrast

On white

1.63
#D2D050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#D2D050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D050
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D050#FFFFFF#000000##000000
##D2D0501.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C840
Deuteranopia (green-blind)
#E2CD58
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d050;
/* rgb */ color: rgb(210, 208, 80);
/* oklch */ color: oklch(83.5% 0.148 108.4);
Tailwind
colors: {
  custom: {
    50: '#e3de87',
    500: '#d2d050',
    950: '#000000',
  },
}
SCSS
$custom: #d2d050;
$custom-light: #e3de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d050",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 80
  },
  "hsl": {
    "h": 59.077,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83538,
    "c": 0.14795,
    "h": 108.4
  },
  "luminance": 0.59393
}

Semantic roles & 50–950 ramp

primary
#D2D050
secondary
#3A3B8C
accent
#48E246
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D050

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

Preview Lab → · Contrast checker → · Palette generator →

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