#D2D462#D2D462

#D2D462 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.6% C 0.137 H 109.9°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#D2D462
RGBrgb(210, 212, 98)
HSLhsl(61, 57%, 61%)
HSVhsv(61, 54%, 83%)
CMYKcmyk(0.9%, 0%, 53.8%, 16.9%)
CIE-LABlab(82.74, -15.80, 55.24)
CIE-LCHlch(82.74, 57.45, 105.96°)
OKLaboklab(84.57% -0.0467 0.1288)
OKLCHoklch(84.57% 0.137 109.9)
XYZxyz(52.3277, 61.6717, 20.7002)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D462 #6462D4
analogous
#D49D62 #D2D462 #99D462
triadic
#D2D462 #62D2D4 #D462D2
tetradic
#D2D462 #62D49D #6462D4 #D46299
square
#D2D462 #62D49D #6462D4 #D46299
split-complementary
#D2D462 #6299D4 #9D62D4
monochromatic
#919328 #C1C335 #D2D462 #E0E192 #EEEEC2

Accessibility & contrast

On white

1.57
#D2D462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#D2D462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D462
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D462#FFFFFF#000000##000000
##D2D4621.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC57
Deuteranopia (green-blind)
#E4D068
Tritanopia (blue-blind)
#DFC8BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d462;
/* rgb */ color: rgb(210, 212, 98);
/* oklch */ color: oklch(84.6% 0.137 109.9);
Tailwind
colors: {
  custom: {
    50: '#e2e192',
    500: '#d2d462',
    950: '#000000',
  },
}
SCSS
$custom: #d2d462;
$custom-light: #e2e192;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d462",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 98
  },
  "hsl": {
    "h": 61.053,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.84572,
    "c": 0.13703,
    "h": 109.9
  },
  "luminance": 0.6167
}

Semantic roles & 50–950 ramp

primary
#D2D462
secondary
#434299
accent
#21C524
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D462

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

Preview Lab → · Contrast checker → · Palette generator →

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