#D2D750#D2D750

#D2D750 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.0% C 0.155 H 111.3°. Best body text is #000000 at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#D2D750
RGBrgb(210, 215, 80)
HSLhsl(62, 63%, 58%)
HSVhsv(62, 63%, 84%)
CMYKcmyk(2.3%, 0%, 62.8%, 15.7%)
CIE-LABlab(83.38, -18.57, 63.72)
CIE-LCHlch(83.38, 66.37, 106.25°)
OKLaboklab(85.03% -0.0564 0.1446)
OKLCHoklch(85.03% 0.155 111.3)
XYZxyz(52.3283, 62.8830, 16.9690)
Luminance0.6288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D750 #5550D7
analogous
#D79850 #D2D750 #8FD750
triadic
#D2D750 #50D2D7 #D750D2
tetradic
#D2D750 #50D798 #5550D7 #D7508F
square
#D2D750 #50D798 #5550D7 #D7508F
split-complementary
#D2D750 #508FD7 #9850D7
monochromatic
#888C20 #B9BE2B #D2D750 #DFE282 #ECEEB4

Accessibility & contrast

On white

1.55
#D2D750 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.58
#D2D750 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D750
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D750#FFFFFF#000000##000000
##D2D7501.001.5513.5813.58
#FFFFFF1.551.0021.0021.00
#00000013.5821.001.001.00
##00000013.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3F
Deuteranopia (green-blind)
#E8D259
Tritanopia (blue-blind)
#E0CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d750;
/* rgb */ color: rgb(210, 215, 80);
/* oklch */ color: oklch(85.0% 0.155 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e387',
    500: '#d2d750',
    950: '#000000',
  },
}
SCSS
$custom: #d2d750;
$custom-light: #e3e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d750",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 80
  },
  "hsl": {
    "h": 62.222,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85033,
    "c": 0.15522,
    "h": 111.3
  },
  "luminance": 0.62882
}

Semantic roles & 50–950 ramp

primary
#D2D750
secondary
#3C3992
accent
#42E648
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D750

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

Preview Lab → · Contrast checker → · Palette generator →

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