#D2D15E#D2D15E

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

Color values

HEX#D2D15E
RGBrgb(210, 209, 94)
HSLhsl(59, 56%, 60%)
HSVhsv(59, 55%, 82%)
CMYKcmyk(0%, 0.5%, 55.2%, 17.6%)
CIE-LABlab(81.90, -14.62, 56.09)
CIE-LCHlch(81.90, 57.96, 104.61°)
OKLaboklab(83.89% -0.0437 0.1302)
OKLCHoklch(83.89% 0.137 108.6)
XYZxyz(51.4006, 60.1121, 19.4827)
Luminance0.6011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D15E #5E5FD2
analogous
#D2975E #D2D15E #99D25E
triadic
#D2D15E #5ED2D1 #D15ED2
tetradic
#D2D15E #5ED297 #5E5FD2 #D25E99
square
#D2D15E #5ED297 #5E5FD2 #D25E99
split-complementary
#D2D15E #5E99D2 #975ED2
monochromatic
#8E8D28 #BEBD35 #D2D15E #DFDF8E #EDECBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D15E#FFFFFF#000000##000000
##D2D15E1.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)
#E0C952
Deuteranopia (green-blind)
#E2CE64
Tritanopia (blue-blind)
#DFC5B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d15e;
/* rgb */ color: rgb(210, 209, 94);
/* oklch */ color: oklch(83.9% 0.137 108.6);
Tailwind
colors: {
  custom: {
    50: '#e2de8f',
    500: '#d2d15e',
    950: '#000000',
  },
}
SCSS
$custom: #d2d15e;
$custom-light: #e2de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d15e",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 94
  },
  "hsl": {
    "h": 59.483,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8389,
    "c": 0.13737,
    "h": 108.6
  },
  "luminance": 0.60111
}

Semantic roles & 50–950 ramp

primary
#D2D15E
secondary
#404194
accent
#4AE048
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D15E

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

Preview Lab → · Contrast checker → · Palette generator →

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