#D2D433#D2D433

#D2D433 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.2% C 0.170 H 110.3°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#D2D433
RGBrgb(210, 212, 51)
HSLhsl(61, 65%, 52%)
HSVhsv(61, 76%, 83%)
CMYKcmyk(0.9%, 0%, 75.9%, 16.9%)
CIE-LABlab(82.39, -18.55, 73.12)
CIE-LCHlch(82.39, 75.44, 104.24°)
OKLaboklab(84.19% -0.0591 0.1597)
OKLCHoklch(84.19% 0.17 110.3)
XYZxyz(50.7212, 61.0291, 12.2393)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D433 #3533D4
analogous
#D48633 #D2D433 #82D433
triadic
#D2D433 #33D2D4 #D433D2
tetradic
#D2D433 #33D486 #3533D4 #D43382
square
#D2D433 #33D486 #3533D4 #D43382
split-complementary
#D2D433 #3382D4 #8633D4
monochromatic
#737418 #A5A723 #D2D433 #DDDF66 #E8E998

Accessibility & contrast

On white

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

On black

13.21
#D2D433 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D433
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D433#FFFFFF#000000##000000
##D2D4331.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB02
Deuteranopia (green-blind)
#E7CF41
Tritanopia (blue-blind)
#E1C6B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d433;
/* rgb */ color: rgb(210, 212, 51);
/* oklch */ color: oklch(84.2% 0.170 110.3);
Tailwind
colors: {
  custom: {
    50: '#e4e078',
    500: '#d2d433',
    950: '#000000',
  },
}
SCSS
$custom: #d2d433;
$custom-light: #e4e078;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d433",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 51
  },
  "hsl": {
    "h": 60.745,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.84187,
    "c": 0.17028,
    "h": 110.3
  },
  "luminance": 0.61028
}

Semantic roles & 50–950 ramp

primary
#D2D433
secondary
#302F7D
accent
#40E842
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2D433

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

Preview Lab → · Contrast checker → · Palette generator →

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