#D2D341#D2D341

#D2D341 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.161 H 109.8°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#D2D341
RGBrgb(210, 211, 65)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 69%, 83%)
CMYKcmyk(0.5%, 0%, 69.2%, 17.3%)
CIE-LABlab(82.20, -17.44, 68.29)
CIE-LCHlch(82.20, 70.48, 104.33°)
OKLaboklab(84.06% -0.0547 0.1519)
OKLCHoklch(84.06% 0.161 109.8)
XYZxyz(50.8285, 60.6733, 14.0336)
Luminance0.6067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D341 #4241D3
analogous
#D38B41 #D2D341 #89D341
triadic
#D2D341 #41D2D3 #D341D2
tetradic
#D2D341 #41D38B #4241D3 #D34189
square
#D2D341 #41D38B #4241D3 #D34189
split-complementary
#D2D341 #4189D3 #8B41D3
monochromatic
#7C7D1D #ADAE28 #D2D341 #DEDF73 #EAEAA4

Accessibility & contrast

On white

1.60
#D2D341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.13
#D2D341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D341
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D341#FFFFFF#000000##000000
##D2D3411.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA29
Deuteranopia (green-blind)
#E5CF4C
Tritanopia (blue-blind)
#E1C6B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d341;
/* rgb */ color: rgb(210, 211, 65);
/* oklch */ color: oklch(84.1% 0.161 109.8);
Tailwind
colors: {
  custom: {
    50: '#e3e07f',
    500: '#d2d341',
    950: '#000000',
  },
}
SCSS
$custom: #d2d341;
$custom-light: #e3e07f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d341",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 65
  },
  "hsl": {
    "h": 60.411,
    "s": 62.393,
    "l": 54.118
  },
  "oklch": {
    "l": 0.84058,
    "c": 0.16147,
    "h": 109.8
  },
  "luminance": 0.60672
}

Semantic roles & 50–950 ramp

primary
#D2D341
secondary
#343484
accent
#42E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D341

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

Preview Lab → · Contrast checker → · Palette generator →

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