#D2D846#D2D846

#D2D846 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.2% C 0.163 H 111.7°. Best body text is #000000 at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#D2D846
RGBrgb(210, 216, 70)
HSLhsl(62, 65%, 56%)
HSVhsv(62, 68%, 85%)
CMYKcmyk(2.8%, 0%, 67.6%, 15.3%)
CIE-LABlab(83.58, -19.64, 67.82)
CIE-LCHlch(83.58, 70.61, 106.15°)
OKLaboklab(85.17% -0.0604 0.1517)
OKLCHoklch(85.17% 0.163 111.7)
XYZxyz(52.2413, 63.2568, 15.2510)
Luminance0.6326 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D846 #4C46D8
analogous
#D89546 #D2D846 #89D846
triadic
#D2D846 #46D2D8 #D846D2
tetradic
#D2D846 #46D895 #4C46D8 #D84689
square
#D2D846 #46D895 #4C46D8 #D84689
split-complementary
#D2D846 #4689D8 #9546D8
monochromatic
#83871C #B4BA27 #D2D846 #DEE379 #EBEDAB

Accessibility & contrast

On white

1.54
#D2D846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.65
#D2D846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D846
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D846#FFFFFF#000000##000000
##D2D8461.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2F
Deuteranopia (green-blind)
#E9D250
Tritanopia (blue-blind)
#E0CBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d846;
/* rgb */ color: rgb(210, 216, 70);
/* oklch */ color: oklch(85.2% 0.163 111.7);
Tailwind
colors: {
  custom: {
    50: '#e3e382',
    500: '#d2d846',
    950: '#000000',
  },
}
SCSS
$custom: #d2d846;
$custom-light: #e3e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d846",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 70
  },
  "hsl": {
    "h": 62.466,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85167,
    "c": 0.16332,
    "h": 111.7
  },
  "luminance": 0.63256
}

Semantic roles & 50–950 ramp

primary
#D2D846
secondary
#38358D
accent
#40E847
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D846

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

Preview Lab → · Contrast checker → · Palette generator →

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