#D2D941#D2D941

#D2D941 is a very light, vivid yellow. Relative luminance 0.637; OKLCH L 85.3% C 0.168 H 112.1°. Best body text is #000000 at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#D2D941
RGBrgb(210, 217, 65)
HSLhsl(63, 67%, 55%)
HSVhsv(63, 70%, 85%)
CMYKcmyk(3.2%, 0%, 70%, 14.9%)
CIE-LABlab(83.81, -20.39, 69.87)
CIE-LCHlch(83.81, 72.78, 106.27°)
OKLaboklab(85.35% -0.063 0.1552)
OKLCHoklch(85.35% 0.168 112.1)
XYZxyz(52.3470, 63.7102, 14.5398)
Luminance0.6371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D941 #4841D9
analogous
#D99441 #D2D941 #86D941
triadic
#D2D941 #41D2D9 #D941D2
tetradic
#D2D941 #41D994 #4841D9 #D94186
square
#D2D941 #41D994 #4841D9 #D94186
split-complementary
#D2D941 #4186D9 #9441D9
monochromatic
#80851B #B1B825 #D2D941 #DEE374 #EAEDA7

Accessibility & contrast

On white

1.53
#D2D941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.74
#D2D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D941
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D941#FFFFFF#000000##000000
##D2D9411.001.5313.7413.74
#FFFFFF1.531.0021.0021.00
#00000013.7421.001.001.00
##00000013.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF26
Deuteranopia (green-blind)
#EAD34D
Tritanopia (blue-blind)
#E0CCBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d941;
/* rgb */ color: rgb(210, 217, 65);
/* oklch */ color: oklch(85.3% 0.168 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e47f',
    500: '#d2d941',
    950: '#000000',
  },
}
SCSS
$custom: #d2d941;
$custom-light: #e3e47f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d941",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 62.763,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.85347,
    "c": 0.16753,
    "h": 112.1
  },
  "luminance": 0.63709
}

Semantic roles & 50–950 ramp

primary
#D2D941
secondary
#37338B
accent
#3EEA46
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D941

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

Preview Lab → · Contrast checker → · Palette generator →

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