#D2D745#D2D745

#D2D745 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 84.9% C 0.163 H 111.3°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D2D745
RGBrgb(210, 215, 69)
HSLhsl(62, 65%, 56%)
HSVhsv(62, 68%, 84%)
CMYKcmyk(2.3%, 0%, 67.9%, 15.7%)
CIE-LABlab(83.30, -19.21, 67.91)
CIE-LCHlch(83.30, 70.58, 105.79°)
OKLaboklab(84.95% -0.0593 0.1518)
OKLCHoklch(84.95% 0.163 111.3)
XYZxyz(51.9546, 62.7335, 15.0010)
Luminance0.6273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D745 #4A45D7
analogous
#D79345 #D2D745 #89D745
triadic
#D2D745 #45D2D7 #D745D2
tetradic
#D2D745 #45D793 #4A45D7 #D74589
square
#D2D745 #45D793 #4A45D7 #D74589
split-complementary
#D2D745 #4589D7 #9345D7
monochromatic
#81851D #B2B727 #D2D745 #DEE277 #EAEDAA

Accessibility & contrast

On white

1.55
#D2D745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D2D745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D745
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D745#FFFFFF#000000##000000
##D2D7451.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE2E
Deuteranopia (green-blind)
#E8D150
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d745;
/* rgb */ color: rgb(210, 215, 69);
/* oklch */ color: oklch(84.9% 0.163 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e381',
    500: '#d2d745',
    950: '#000000',
  },
}
SCSS
$custom: #d2d745;
$custom-light: #e3e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d745",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 69
  },
  "hsl": {
    "h": 62.055,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.84945,
    "c": 0.16295,
    "h": 111.3
  },
  "luminance": 0.62732
}

Semantic roles & 50–950 ramp

primary
#D2D745
secondary
#38358C
accent
#40E846
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D745

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

Preview Lab → · Contrast checker → · Palette generator →

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