#D2D546#D2D546

#D2D546 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.5% C 0.160 H 110.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D2D546
RGBrgb(210, 213, 70)
HSLhsl(61, 63%, 55%)
HSVhsv(61, 67%, 84%)
CMYKcmyk(1.4%, 0%, 67.1%, 16.5%)
CIE-LABlab(82.77, -18.17, 67.01)
CIE-LCHlch(82.77, 69.43, 105.17°)
OKLaboklab(84.52% -0.0563 0.15)
OKLCHoklch(84.52% 0.16 110.6)
XYZxyz(51.4797, 61.7337, 14.9972)
Luminance0.6173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D546 #4946D5
analogous
#D59146 #D2D546 #8AD546
triadic
#D2D546 #46D2D5 #D546D2
tetradic
#D2D546 #46D591 #4946D5 #D5468A
square
#D2D546 #46D591 #4946D5 #D5468A
split-complementary
#D2D546 #468AD5 #9146D5
monochromatic
#81831E #B2B529 #D2D546 #DEE078 #EAECAA

Accessibility & contrast

On white

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

On black

13.35
#D2D546 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D546
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D546#FFFFFF#000000##000000
##D2D5461.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC30
Deuteranopia (green-blind)
#E7D050
Tritanopia (blue-blind)
#E0C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d546;
/* rgb */ color: rgb(210, 213, 70);
/* oklch */ color: oklch(84.5% 0.160 110.6);
Tailwind
colors: {
  custom: {
    50: '#e3e181',
    500: '#d2d546',
    950: '#000000',
  },
}
SCSS
$custom: #d2d546;
$custom-light: #e3e181;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d546",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 70
  },
  "hsl": {
    "h": 61.259,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.84523,
    "c": 0.16024,
    "h": 110.6
  },
  "luminance": 0.61732
}

Semantic roles & 50–950 ramp

primary
#D2D546
secondary
#37358A
accent
#42E645
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D546

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

Preview Lab → · Contrast checker → · Palette generator →

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