#D2D850#D2D850

#D2D850 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.2% C 0.156 H 111.7°. Best body text is #000000 at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#D2D850
RGBrgb(210, 216, 80)
HSLhsl(63, 64%, 58%)
HSVhsv(63, 63%, 85%)
CMYKcmyk(2.8%, 0%, 63%, 15.3%)
CIE-LABlab(83.65, -19.06, 64.00)
CIE-LCHlch(83.65, 66.78, 106.58°)
OKLaboklab(85.25% -0.0578 0.1452)
OKLCHoklch(85.25% 0.156 111.7)
XYZxyz(52.5837, 63.3938, 17.0541)
Luminance0.6339 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D850 #5650D8
analogous
#D89A50 #D2D850 #8ED850
triadic
#D2D850 #50D2D8 #D850D2
tetradic
#D2D850 #50D89A #5650D8 #D8508E
square
#D2D850 #50D89A #5650D8 #D8508E
split-complementary
#D2D850 #508ED8 #9A50D8
monochromatic
#898E20 #B9C02B #D2D850 #DFE382 #ECEEB4

Accessibility & contrast

On white

1.54
#D2D850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.68
#D2D850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D850
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D850#FFFFFF#000000##000000
##D2D8501.001.5413.6813.68
#FFFFFF1.541.0021.0021.00
#00000013.6821.001.001.00
##00000013.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d850;
/* rgb */ color: rgb(210, 216, 80);
/* oklch */ color: oklch(85.2% 0.156 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e387',
    500: '#d2d850',
    950: '#000000',
  },
}
SCSS
$custom: #d2d850;
$custom-light: #e3e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d850",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 80
  },
  "hsl": {
    "h": 62.647,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85247,
    "c": 0.15629,
    "h": 111.7
  },
  "luminance": 0.63393
}

Semantic roles & 50–950 ramp

primary
#D2D850
secondary
#3D3994
accent
#41E749
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D850

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

Preview Lab → · Contrast checker → · Palette generator →

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