#D2D645#D2D645

#D2D645 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.7% C 0.162 H 111.0°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#D2D645
RGBrgb(210, 214, 69)
HSLhsl(62, 64%, 55%)
HSVhsv(62, 68%, 84%)
CMYKcmyk(1.9%, 0%, 67.8%, 16.1%)
CIE-LABlab(83.03, -18.72, 67.65)
CIE-LCHlch(83.03, 70.19, 105.46°)
OKLaboklab(84.73% -0.0579 0.1512)
OKLCHoklch(84.73% 0.162 111)
XYZxyz(51.7007, 62.2258, 14.9164)
Luminance0.6222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D645 #4945D6
analogous
#D69145 #D2D645 #89D645
triadic
#D2D645 #45D2D6 #D645D2
tetradic
#D2D645 #45D691 #4945D6 #D64589
square
#D2D645 #45D691 #4945D6 #D64589
split-complementary
#D2D645 #4589D6 #9145D6
monochromatic
#81841D #B2B628 #D2D645 #DEE177 #EAECA9

Accessibility & contrast

On white

1.56
#D2D645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#D2D645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D645
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D645#FFFFFF#000000##000000
##D2D6451.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD2E
Deuteranopia (green-blind)
#E7D14F
Tritanopia (blue-blind)
#E0C9B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d645;
/* rgb */ color: rgb(210, 214, 69);
/* oklch */ color: oklch(84.7% 0.162 111.0);
Tailwind
colors: {
  custom: {
    50: '#e3e281',
    500: '#d2d645',
    950: '#000000',
  },
}
SCSS
$custom: #d2d645;
$custom-light: #e3e281;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d645",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 69
  },
  "hsl": {
    "h": 61.655,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8473,
    "c": 0.16192,
    "h": 111
  },
  "luminance": 0.62224
}

Semantic roles & 50–950 ramp

primary
#D2D645
secondary
#37358A
accent
#41E745
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D645

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

Preview Lab → · Contrast checker → · Palette generator →

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