#D2D345#D2D345

#D2D345 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.159 H 109.8°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#D2D345
RGBrgb(210, 211, 69)
HSLhsl(60, 62%, 55%)
HSVhsv(60, 67%, 83%)
CMYKcmyk(0.5%, 0%, 67.3%, 17.3%)
CIE-LABlab(82.23, -17.24, 66.84)
CIE-LCHlch(82.23, 69.03, 104.46°)
OKLaboklab(84.09% -0.0538 0.1495)
OKLCHoklch(84.09% 0.159 109.8)
XYZxyz(50.9485, 60.7213, 14.6656)
Luminance0.6072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D345 #4645D3
analogous
#D38D45 #D2D345 #8BD345
triadic
#D2D345 #45D2D3 #D345D2
tetradic
#D2D345 #45D38D #4645D3 #D3458B
square
#D2D345 #45D38D #4645D3 #D3458B
split-complementary
#D2D345 #458BD3 #8D45D3
monochromatic
#7F7F1E #B0B12A #D2D345 #DEDF76 #EAEAA8

Accessibility & contrast

On white

1.60
#D2D345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.14
#D2D345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D345
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D345#FFFFFF#000000##000000
##D2D3451.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA2F
Deuteranopia (green-blind)
#E5CF4F
Tritanopia (blue-blind)
#E0C6B7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d345;
/* rgb */ color: rgb(210, 211, 69);
/* oklch */ color: oklch(84.1% 0.159 109.8);
Tailwind
colors: {
  custom: {
    50: '#e3e081',
    500: '#d2d345',
    950: '#000000',
  },
}
SCSS
$custom: #d2d345;
$custom-light: #e3e081;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d345",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 69
  },
  "hsl": {
    "h": 60.423,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.84087,
    "c": 0.15888,
    "h": 109.8
  },
  "luminance": 0.6072
}

Semantic roles & 50–950 ramp

primary
#D2D345
secondary
#363587
accent
#43E544
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D345

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

Preview Lab → · Contrast checker → · Palette generator →

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