#D2D241#D2D241

#D2D241 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.8% C 0.160 H 109.4°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D2D241
RGBrgb(210, 210, 65)
HSLhsl(60, 62%, 54%)
HSVhsv(60, 69%, 82%)
CMYKcmyk(0%, 0%, 69%, 17.6%)
CIE-LABlab(81.93, -16.95, 68.03)
CIE-LCHlch(81.93, 70.11, 103.99°)
OKLaboklab(83.84% -0.0533 0.1514)
OKLCHoklch(83.84% 0.16 109.4)
XYZxyz(50.5808, 60.1780, 13.9511)
Luminance0.6018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D241 #4141D2
analogous
#D28A41 #D2D241 #8AD241
triadic
#D2D241 #41D2D2 #D241D2
tetradic
#D2D241 #41D28A #4141D2 #D2418A
square
#D2D241 #41D28A #4141D2 #D2418A
split-complementary
#D2D241 #418AD2 #8A41D2
monochromatic
#7B7B1D #ADAD29 #D2D241 #DEDE72 #E9E9A4

Accessibility & contrast

On white

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

On black

13.04
#D2D241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D241
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D241#FFFFFF#000000##000000
##D2D2411.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C929
Deuteranopia (green-blind)
#E4CE4B
Tritanopia (blue-blind)
#E1C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d241;
/* rgb */ color: rgb(210, 210, 65);
/* oklch */ color: oklch(83.8% 0.160 109.4);
Tailwind
colors: {
  custom: {
    50: '#e3df7f',
    500: '#d2d241',
    950: '#000000',
  },
}
SCSS
$custom: #d2d241;
$custom-light: #e3df7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d241",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 65
  },
  "hsl": {
    "h": 60,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83844,
    "c": 0.16047,
    "h": 109.4
  },
  "luminance": 0.60176
}

Semantic roles & 50–950 ramp

primary
#D2D241
secondary
#343483
accent
#43E543
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D241

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

Preview Lab → · Contrast checker → · Palette generator →

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