#D2D671#D2D671

#D2D671 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.2% C 0.125 H 110.8°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#D2D671
RGBrgb(210, 214, 113)
HSLhsl(62, 55%, 64%)
HSVhsv(62, 47%, 84%)
CMYKcmyk(1.9%, 0%, 47.2%, 16.1%)
CIE-LABlab(83.44, -15.50, 49.05)
CIE-LCHlch(83.44, 51.44, 107.53°)
OKLaboklab(85.18% -0.0443 0.1168)
OKLCHoklch(85.18% 0.125 110.8)
XYZxyz(53.6065, 62.9881, 24.9536)
Luminance0.6299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D671 #7571D6
analogous
#D6A871 #D2D671 #A0D671
triadic
#D2D671 #71D2D6 #D671D2
tetradic
#D2D671 #71D6A8 #7571D6 #D671A0
square
#D2D671 #71D6A8 #7571D6 #D671A0
split-complementary
#D2D671 #71A0D6 #A871D6
monochromatic
#9A9F2E #C3C842 #D2D671 #E1E4A0 #F0F1D0

Accessibility & contrast

On white

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

On black

13.60
#D2D671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D671
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D671#FFFFFF#000000##000000
##D2D6711.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE68
Deuteranopia (green-blind)
#E4D176
Tritanopia (blue-blind)
#DECBBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d671;
/* rgb */ color: rgb(210, 214, 113);
/* oklch */ color: oklch(85.2% 0.125 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e29c',
    500: '#d2d671',
    950: '#000000',
  },
}
SCSS
$custom: #d2d671;
$custom-light: #e1e29c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d671",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 113
  },
  "hsl": {
    "h": 62.376,
    "s": 55.191,
    "l": 64.118
  },
  "oklch": {
    "l": 0.85181,
    "c": 0.12489,
    "h": 110.8
  },
  "luminance": 0.62987
}

Semantic roles & 50–950 ramp

primary
#D2D671
secondary
#4C48A3
accent
#23C329
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D671

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

Preview Lab → · Contrast checker → · Palette generator →

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