#D2D141#D2D141

#D2D141 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.6% C 0.160 H 109.0°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D2D141
RGBrgb(210, 209, 65)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 69%, 82%)
CMYKcmyk(0%, 0.5%, 69%, 17.6%)
CIE-LABlab(81.67, -16.45, 67.76)
CIE-LCHlch(81.67, 69.73, 103.65°)
OKLaboklab(83.63% -0.0519 0.1508)
OKLCHoklch(83.63% 0.16 109)
XYZxyz(50.3347, 59.6857, 13.8690)
Luminance0.5968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D141 #4142D2
analogous
#D28941 #D2D141 #8BD241
triadic
#D2D141 #41D2D1 #D141D2
tetradic
#D2D141 #41D289 #4142D2 #D2418B
square
#D2D141 #41D289 #4142D2 #D2418B
split-complementary
#D2D141 #418BD2 #8941D2
monochromatic
#7B7B1D #ADAC29 #D2D141 #DEDD72 #E9E9A4

Accessibility & contrast

On white

1.62
#D2D141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D2D141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D141
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D141#FFFFFF#000000##000000
##D2D1411.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C829
Deuteranopia (green-blind)
#E4CD4B
Tritanopia (blue-blind)
#E1C4B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d141;
/* rgb */ color: rgb(210, 209, 65);
/* oklch */ color: oklch(83.6% 0.160 109.0);
Tailwind
colors: {
  custom: {
    50: '#e3de7e',
    500: '#d2d141',
    950: '#000000',
  },
}
SCSS
$custom: #d2d141;
$custom-light: #e3de7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d141",
  "rgb": {
    "r": 210,
    "g": 209,
    "b": 65
  },
  "hsl": {
    "h": 59.586,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.8363,
    "c": 0.1595,
    "h": 109
  },
  "luminance": 0.59684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D141

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

Preview Lab → · Contrast checker → · Palette generator →

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