#D2D858#D2D858

#D2D858 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.3% C 0.150 H 111.7°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D2D858
RGBrgb(210, 216, 88)
HSLhsl(63, 62%, 60%)
HSVhsv(63, 59%, 85%)
CMYKcmyk(2.8%, 0%, 59.3%, 15.3%)
CIE-LABlab(83.71, -18.53, 60.74)
CIE-LCHlch(83.71, 63.51, 106.96°)
OKLaboklab(85.32% -0.0554 0.1394)
OKLCHoklch(85.32% 0.15 111.7)
XYZxyz(52.8970, 63.5191, 18.7045)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D858 #5E58D8
analogous
#D89E58 #D2D858 #92D858
triadic
#D2D858 #58D2D8 #D858D2
tetradic
#D2D858 #58D89E #5E58D8 #D85892
square
#D2D858 #58D89E #5E58D8 #D85892
split-complementary
#D2D858 #5892D8 #9E58D8
monochromatic
#8E9322 #BEC52E #D2D858 #DFE48A #EDEFBB

Accessibility & contrast

On white

1.53
#D2D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D2D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D858
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D858#FFFFFF#000000##000000
##D2D8581.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF49
Deuteranopia (green-blind)
#E8D260
Tritanopia (blue-blind)
#DFCCBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d858;
/* rgb */ color: rgb(210, 216, 88);
/* oklch */ color: oklch(85.3% 0.150 111.7);
Tailwind
colors: {
  custom: {
    50: '#e2e38c',
    500: '#d2d858',
    950: '#000000',
  },
}
SCSS
$custom: #d2d858;
$custom-light: #e2e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d858",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 62.813,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85321,
    "c": 0.15003,
    "h": 111.7
  },
  "luminance": 0.63518
}

Semantic roles & 50–950 ramp

primary
#D2D858
secondary
#403C98
accent
#43E54A
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D858

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

Preview Lab → · Contrast checker → · Palette generator →

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