#D2D041#D2D041

#D2D041 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.4% C 0.159 H 108.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D2D041
RGBrgb(210, 208, 65)
HSLhsl(59, 62%, 54%)
HSVhsv(59, 69%, 82%)
CMYKcmyk(0%, 1%, 69%, 17.6%)
CIE-LABlab(81.40, -15.96, 67.50)
CIE-LCHlch(81.40, 69.36, 103.30°)
OKLaboklab(83.42% -0.0505 0.1502)
OKLCHoklch(83.42% 0.159 108.6)
XYZxyz(50.0901, 59.1966, 13.7875)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D041 #4143D2
analogous
#D28841 #D2D041 #8CD241
triadic
#D2D041 #41D2D0 #D041D2
tetradic
#D2D041 #41D288 #4143D2 #D2418C
square
#D2D041 #41D288 #4143D2 #D2418C
split-complementary
#D2D041 #418CD2 #8841D2
monochromatic
#7B7A1D #ADAB29 #D2D041 #DEDC72 #E9E8A4

Accessibility & contrast

On white

1.64
#D2D041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D2D041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D041
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D041#FFFFFF#000000##000000
##D2D0411.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C82A
Deuteranopia (green-blind)
#E3CD4B
Tritanopia (blue-blind)
#E1C3B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2d041;
/* rgb */ color: rgb(210, 208, 65);
/* oklch */ color: oklch(83.4% 0.159 108.6);
Tailwind
colors: {
  custom: {
    50: '#e3de7e',
    500: '#d2d041',
    950: '#000000',
  },
}
SCSS
$custom: #d2d041;
$custom-light: #e3de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d041",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 65
  },
  "hsl": {
    "h": 59.172,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83417,
    "c": 0.15852,
    "h": 108.6
  },
  "luminance": 0.59195
}

Semantic roles & 50–950 ramp

primary
#D2D041
secondary
#343583
accent
#45E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D041

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

Preview Lab → · Contrast checker → · Palette generator →

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