#D2D156#D2D156

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

Color values

HEX#D2D156
RGBrgb(210, 209, 86)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 59%, 82%)
CMYKcmyk(0%, 0.5%, 59%, 17.6%)
CIE-LABlab(81.83, -15.20, 59.53)
CIE-LCHlch(81.83, 61.44, 104.32°)
OKLaboklab(83.81% -0.0462 0.1366)
OKLCHoklch(83.81% 0.144 108.7)
XYZxyz(51.0600, 59.9759, 17.6891)
Luminance0.5997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D156 #5657D2
analogous
#D29356 #D2D156 #95D256
triadic
#D2D156 #56D2D1 #D156D2
tetradic
#D2D156 #56D293 #5657D2 #D25695
square
#D2D156 #56D293 #5657D2 #D25695
split-complementary
#D2D156 #5695D2 #9356D2
monochromatic
#898825 #B9B831 #D2D156 #DFDE86 #ECEBB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D156#FFFFFF#000000##000000
##D2D1561.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)
#E1C948
Deuteranopia (green-blind)
#E2CD5D
Tritanopia (blue-blind)
#E0C5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d156;
/* rgb */ color: rgb(210, 209, 86);
/* oklch */ color: oklch(83.8% 0.144 108.7);
Tailwind
colors: {
  custom: {
    50: '#e3de8a',
    500: '#d2d156',
    950: '#000000',
  },
}
SCSS
$custom: #d2d156;
$custom-light: #e3de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d156",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 86
  },
  "hsl": {
    "h": 59.516,
    "s": 57.944,
    "l": 58.039
  },
  "oklch": {
    "l": 0.83807,
    "c": 0.1442,
    "h": 108.7
  },
  "luminance": 0.59974
}

Semantic roles & 50–950 ramp

primary
#D2D156
secondary
#3D3D90
accent
#48E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D156

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

Preview Lab → · Contrast checker → · Palette generator →

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