#D2D250#D2D250

#D2D250 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.0% C 0.150 H 109.2°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#D2D250
RGBrgb(210, 210, 80)
HSLhsl(60, 59%, 57%)
HSVhsv(60, 62%, 82%)
CMYKcmyk(0%, 0%, 61.9%, 17.6%)
CIE-LABlab(82.04, -16.10, 62.30)
CIE-LCHlch(82.04, 64.35, 104.49°)
OKLaboklab(83.96% -0.0494 0.1416)
OKLCHoklch(83.96% 0.15 109.2)
XYZxyz(51.0745, 60.3754, 16.5510)
Luminance0.6037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D250 #5050D2
analogous
#D29150 #D2D250 #91D250
triadic
#D2D250 #50D2D2 #D250D2
tetradic
#D2D250 #50D291 #5050D2 #D25091
square
#D2D250 #50D291 #5050D2 #D25091
split-complementary
#D2D250 #5091D2 #9150D2
monochromatic
#858522 #B6B62F #D2D250 #DFDF81 #EBEBB1

Accessibility & contrast

On white

1.61
#D2D250 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#D2D250 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D250
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D250#FFFFFF#000000##000000
##D2D2501.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA40
Deuteranopia (green-blind)
#E4CE58
Tritanopia (blue-blind)
#E0C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d250;
/* rgb */ color: rgb(210, 210, 80);
/* oklch */ color: oklch(84.0% 0.150 109.2);
Tailwind
colors: {
  custom: {
    50: '#e3df87',
    500: '#d2d250',
    950: '#000000',
  },
}
SCSS
$custom: #d2d250;
$custom-light: #e3df87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d250",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 80
  },
  "hsl": {
    "h": 60,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83964,
    "c": 0.15,
    "h": 109.2
  },
  "luminance": 0.60374
}

Semantic roles & 50–950 ramp

primary
#D2D250
secondary
#3A3A8C
accent
#46E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D250

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

Preview Lab → · Contrast checker → · Palette generator →

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