#D2D43D#D2D43D

#D2D43D is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.2% C 0.165 H 110.2°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#D2D43D
RGBrgb(210, 212, 61)
HSLhsl(61, 64%, 54%)
HSVhsv(61, 71%, 83%)
CMYKcmyk(0.9%, 0%, 71.2%, 16.9%)
CIE-LABlab(82.45, -18.13, 69.94)
CIE-LCHlch(82.45, 72.25, 104.53°)
OKLaboklab(84.25% -0.057 0.1547)
OKLCHoklch(84.25% 0.165 110.2)
XYZxyz(50.9659, 61.1270, 13.5279)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D43D #3F3DD4
analogous
#D48A3D #D2D43D #86D43D
triadic
#D2D43D #3DD2D4 #D43DD2
tetradic
#D2D43D #3DD48A #3F3DD4 #D43D86
square
#D2D43D #3DD48A #3F3DD4 #D43D86
split-complementary
#D2D43D #3D86D4 #8A3DD4
monochromatic
#7A7B1B #ACAD26 #D2D43D #DEDF6F #E9EAA1

Accessibility & contrast

On white

1.59
#D2D43D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#D2D43D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D43D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D43D#FFFFFF#000000##000000
##D2D43D1.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB21
Deuteranopia (green-blind)
#E6CF49
Tritanopia (blue-blind)
#E1C7B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d43d;
/* rgb */ color: rgb(210, 212, 61);
/* oklch */ color: oklch(84.2% 0.165 110.2);
Tailwind
colors: {
  custom: {
    50: '#e3e17d',
    500: '#d2d43d',
    950: '#000000',
  },
}
SCSS
$custom: #d2d43d;
$custom-light: #e3e17d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d43d",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 61
  },
  "hsl": {
    "h": 60.795,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.84245,
    "c": 0.16488,
    "h": 110.2
  },
  "luminance": 0.61126
}

Semantic roles & 50–950 ramp

primary
#D2D43D
secondary
#333283
accent
#41E743
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2D43D

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

Preview Lab → · Contrast checker → · Palette generator →

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