#D2D154#D2D154

#D2D154 is a very light, vivid yellow. Relative luminance 0.599; OKLCH L 83.8% C 0.146 H 108.7°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D2D154
RGBrgb(210, 209, 84)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 60%, 82%)
CMYKcmyk(0%, 0.5%, 60%, 17.6%)
CIE-LABlab(81.81, -15.34, 60.37)
CIE-LCHlch(81.81, 62.29, 104.25°)
OKLaboklab(83.79% -0.0468 0.1381)
OKLCHoklch(83.79% 0.146 108.7)
XYZxyz(50.9806, 59.9441, 17.2707)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D154 #5455D2
analogous
#D29254 #D2D154 #94D254
triadic
#D2D154 #54D2D1 #D154D2
tetradic
#D2D154 #54D292 #5455D2 #D25494
square
#D2D154 #54D292 #5455D2 #D25494
split-complementary
#D2D154 #5494D2 #9254D2
monochromatic
#888724 #B8B731 #D2D154 #DFDE84 #EBEBB5

Accessibility & contrast

On white

1.62
#D2D154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.99
#D2D154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D154
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D154#FFFFFF#000000##000000
##D2D1541.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C945
Deuteranopia (green-blind)
#E3CD5B
Tritanopia (blue-blind)
#E0C5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d154;
/* rgb */ color: rgb(210, 209, 84);
/* oklch */ color: oklch(83.8% 0.146 108.7);
Tailwind
colors: {
  custom: {
    50: '#e3de89',
    500: '#d2d154',
    950: '#000000',
  },
}
SCSS
$custom: #d2d154;
$custom-light: #e3de89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d154",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 84
  },
  "hsl": {
    "h": 59.524,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83788,
    "c": 0.14583,
    "h": 108.7
  },
  "luminance": 0.59943
}

Semantic roles & 50–950 ramp

primary
#D2D154
secondary
#3C3C8E
accent
#47E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D154

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

Preview Lab → · Contrast checker → · Palette generator →

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