#D2D946#D2D946

#D2D946 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.4% C 0.164 H 112.1°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D2D946
RGBrgb(210, 217, 70)
HSLhsl(63, 66%, 56%)
HSVhsv(63, 68%, 85%)
CMYKcmyk(3.2%, 0%, 67.7%, 14.9%)
CIE-LABlab(83.85, -20.13, 68.09)
CIE-LCHlch(83.85, 71.00, 106.47°)
OKLaboklab(85.38% -0.0618 0.1523)
OKLCHoklch(85.38% 0.164 112.1)
XYZxyz(52.4983, 63.7708, 15.3367)
Luminance0.6377 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D946 #4D46D9
analogous
#D99746 #D2D946 #89D946
triadic
#D2D946 #46D2D9 #D946D2
tetradic
#D2D946 #46D997 #4D46D9 #D94689
square
#D2D946 #46D997 #4D46D9 #D94689
split-complementary
#D2D946 #4689D9 #9746D9
monochromatic
#83891C #B4BB26 #D2D946 #DEE379 #EBEEAC

Accessibility & contrast

On white

1.53
#D2D946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D2D946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D946
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D946#FFFFFF#000000##000000
##D2D9461.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2F
Deuteranopia (green-blind)
#EAD351
Tritanopia (blue-blind)
#E0CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d2d946;
/* rgb */ color: rgb(210, 217, 70);
/* oklch */ color: oklch(85.4% 0.164 112.1);
Tailwind
colors: {
  custom: {
    50: '#e3e482',
    500: '#d2d946',
    950: '#000000',
  },
}
SCSS
$custom: #d2d946;
$custom-light: #e3e482;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d946",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 70
  },
  "hsl": {
    "h": 62.857,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.85382,
    "c": 0.16436,
    "h": 112.1
  },
  "luminance": 0.6377
}

Semantic roles & 50–950 ramp

primary
#D2D946
secondary
#39358F
accent
#3FE947
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D946

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

Preview Lab → · Contrast checker → · Palette generator →

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