#D2D841#D2D841

#D2D841 is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.1% C 0.167 H 111.7°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D2D841
RGBrgb(210, 216, 65)
HSLhsl(62, 66%, 55%)
HSVhsv(62, 70%, 85%)
CMYKcmyk(2.8%, 0%, 69.9%, 15.3%)
CIE-LABlab(83.55, -19.90, 69.61)
CIE-LCHlch(83.55, 72.39, 105.96°)
OKLaboklab(85.13% -0.0616 0.1547)
OKLCHoklch(85.13% 0.167 111.7)
XYZxyz(52.0900, 63.1963, 14.4541)
Luminance0.6320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D841 #4741D8
analogous
#D89241 #D2D841 #87D841
triadic
#D2D841 #41D2D8 #D841D2
tetradic
#D2D841 #41D892 #4741D8 #D84187
square
#D2D841 #41D892 #4741D8 #D84187
split-complementary
#D2D841 #4187D8 #9241D8
monochromatic
#7F841B #B1B625 #D2D841 #DEE274 #EAEDA7

Accessibility & contrast

On white

1.54
#D2D841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.64
#D2D841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D841
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D841#FFFFFF#000000##000000
##D2D8411.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE27
Deuteranopia (green-blind)
#E9D24C
Tritanopia (blue-blind)
#E0CBBA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d841;
/* rgb */ color: rgb(210, 216, 65);
/* oklch */ color: oklch(85.1% 0.167 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e37f',
    500: '#d2d841',
    950: '#000000',
  },
}
SCSS
$custom: #d2d841;
$custom-light: #e3e37f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d841",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 65
  },
  "hsl": {
    "h": 62.384,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.85131,
    "c": 0.1665,
    "h": 111.7
  },
  "luminance": 0.63195
}

Semantic roles & 50–950 ramp

primary
#D2D841
secondary
#36338A
accent
#3FE946
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D841

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

Preview Lab → · Contrast checker → · Palette generator →

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