#D2D426#D2D426

#D2D426 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.1% C 0.176 H 110.4°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#D2D426
RGBrgb(210, 212, 38)
HSLhsl(61, 70%, 49%)
HSVhsv(61, 82%, 83%)
CMYKcmyk(0.9%, 0%, 82.1%, 16.9%)
CIE-LABlab(82.34, -18.99, 76.59)
CIE-LCHlch(82.34, 78.91, 103.92°)
OKLaboklab(84.13% -0.0612 0.1649)
OKLCHoklch(84.13% 0.176 110.4)
XYZxyz(50.4736, 60.9300, 10.9352)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D426 #2826D4
analogous
#D47F26 #D2D426 #7BD426
triadic
#D2D426 #26D2D4 #D426D2
tetradic
#D2D426 #26D47F #2826D4 #D4267B
square
#D2D426 #26D47F #2826D4 #D4267B
split-complementary
#D2D426 #267BD4 #7F26D4
monochromatic
#6B6C13 #9FA01D #D2D426 #DFE156 #E9EA8A

Accessibility & contrast

On white

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

On black

13.19
#D2D426 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D426
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D426#FFFFFF#000000##000000
##D2D4261.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E7CF38
Tritanopia (blue-blind)
#E1C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d426;
/* rgb */ color: rgb(210, 212, 38);
/* oklch */ color: oklch(84.1% 0.176 110.4);
Tailwind
colors: {
  custom: {
    50: '#e4e073',
    500: '#d2d426',
    950: '#000000',
  },
}
SCSS
$custom: #d2d426;
$custom-light: #e4e073;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d426",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 38
  },
  "hsl": {
    "h": 60.69,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.84127,
    "c": 0.17588,
    "h": 110.4
  },
  "luminance": 0.60929
}

Semantic roles & 50–950 ramp

primary
#D2D426
secondary
#292976
accent
#3BEC3D
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#161509
muted
#85847D

Preview Lab

Preview with #D2D426

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

Preview Lab → · Contrast checker → · Palette generator →

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