#D2D15F#D2D15F

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

Color values

HEX#D2D15F
RGBrgb(210, 209, 95)
HSLhsl(59, 56%, 60%)
HSVhsv(59, 55%, 82%)
CMYKcmyk(0%, 0.5%, 54.8%, 17.6%)
CIE-LABlab(81.91, -14.54, 55.65)
CIE-LCHlch(81.91, 57.52, 104.64°)
OKLaboklab(83.9% -0.0434 0.1294)
OKLCHoklch(83.9% 0.136 108.6)
XYZxyz(51.4458, 60.1302, 19.7205)
Luminance0.6013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D15F #5F60D2
analogous
#D2975F #D2D15F #9AD25F
triadic
#D2D15F #5FD2D1 #D15FD2
tetradic
#D2D15F #5FD297 #5F60D2 #D25F9A
square
#D2D15F #5FD297 #5F60D2 #D25F9A
split-complementary
#D2D15F #5F9AD2 #975FD2
monochromatic
#8F8E28 #BEBD36 #D2D15F #DFDF8F #EDECBF

Accessibility & contrast

On white

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

On black

13.03
#D2D15F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D15F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D15F#FFFFFF#000000##000000
##D2D15F1.001.6113.0313.03
#FFFFFF1.611.0021.0021.00
#00000013.0321.001.001.00
##00000013.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d15f;
/* rgb */ color: rgb(210, 209, 95);
/* oklch */ color: oklch(83.9% 0.136 108.6);
Tailwind
colors: {
  custom: {
    50: '#e2de90',
    500: '#d2d15f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d15f;
$custom-light: #e2de90;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d15f",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 59.478,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83901,
    "c": 0.13648,
    "h": 108.6
  },
  "luminance": 0.60129
}

Semantic roles & 50–950 ramp

primary
#D2D15F
secondary
#414194
accent
#4ADF48
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D15F

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

Preview Lab → · Contrast checker → · Palette generator →

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