#D2D15D#D2D15D

#D2D15D is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.9% C 0.138 H 108.6°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D2D15D
RGBrgb(210, 209, 93)
HSLhsl(59, 57%, 59%)
HSVhsv(59, 56%, 82%)
CMYKcmyk(0%, 0.5%, 55.7%, 17.6%)
CIE-LABlab(81.89, -14.69, 56.53)
CIE-LCHlch(81.89, 58.41, 104.57°)
OKLaboklab(83.88% -0.0441 0.131)
OKLCHoklch(83.88% 0.138 108.6)
XYZxyz(51.3560, 60.0943, 19.2479)
Luminance0.6009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D15D #5D5ED2
analogous
#D2975D #D2D15D #99D25D
triadic
#D2D15D #5DD2D1 #D15DD2
tetradic
#D2D15D #5DD297 #5D5ED2 #D25D99
square
#D2D15D #5DD297 #5D5ED2 #D25D99
split-complementary
#D2D15D #5D99D2 #975DD2
monochromatic
#8D8C27 #BDBC35 #D2D15D #DFDF8D #EDECBD

Accessibility & contrast

On white

1.61
#D2D15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D2D15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D15D
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D15D#FFFFFF#000000##000000
##D2D15D1.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C951
Deuteranopia (green-blind)
#E2CE63
Tritanopia (blue-blind)
#DFC5B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d15d;
/* rgb */ color: rgb(210, 209, 93);
/* oklch */ color: oklch(83.9% 0.138 108.6);
Tailwind
colors: {
  custom: {
    50: '#e2de8f',
    500: '#d2d15d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d15d;
$custom-light: #e2de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d15d",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 59.487,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83879,
    "c": 0.13825,
    "h": 108.6
  },
  "luminance": 0.60093
}

Semantic roles & 50–950 ramp

primary
#D2D15D
secondary
#404193
accent
#49E048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D15D

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

Preview Lab → · Contrast checker → · Palette generator →

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