#D2D155#D2D155

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

Color values

HEX#D2D155
RGBrgb(210, 209, 85)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 60%, 82%)
CMYKcmyk(0%, 0.5%, 59.5%, 17.6%)
CIE-LABlab(81.82, -15.27, 59.95)
CIE-LCHlch(81.82, 61.87, 104.29°)
OKLaboklab(83.8% -0.0465 0.1373)
OKLCHoklch(83.8% 0.145 108.7)
XYZxyz(51.0200, 59.9599, 17.4784)
Luminance0.5996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D155 #5556D2
analogous
#D29255 #D2D155 #94D255
triadic
#D2D155 #55D2D1 #D155D2
tetradic
#D2D155 #55D292 #5556D2 #D25594
square
#D2D155 #55D292 #5556D2 #D25594
split-complementary
#D2D155 #5594D2 #9255D2
monochromatic
#888824 #B9B831 #D2D155 #DFDE85 #ECEBB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D155#FFFFFF#000000##000000
##D2D1551.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)
#E1C947
Deuteranopia (green-blind)
#E3CD5C
Tritanopia (blue-blind)
#E0C5B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d155;
/* rgb */ color: rgb(210, 209, 85);
/* oklch */ color: oklch(83.8% 0.145 108.7);
Tailwind
colors: {
  custom: {
    50: '#e3de8a',
    500: '#d2d155',
    950: '#000000',
  },
}
SCSS
$custom: #d2d155;
$custom-light: #e3de8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d155",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 85
  },
  "hsl": {
    "h": 59.52,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83797,
    "c": 0.14501,
    "h": 108.7
  },
  "luminance": 0.59958
}

Semantic roles & 50–950 ramp

primary
#D2D155
secondary
#3C3D8F
accent
#48E146
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D155

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

Preview Lab → · Contrast checker → · Palette generator →

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