#D2D673#D2D673

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

Color values

HEX#D2D673
RGBrgb(210, 214, 115)
HSLhsl(62, 55%, 65%)
HSVhsv(62, 46%, 84%)
CMYKcmyk(1.9%, 0%, 46.3%, 16.1%)
CIE-LABlab(83.46, -15.31, 48.12)
CIE-LCHlch(83.46, 50.49, 107.65°)
OKLaboklab(85.21% -0.0436 0.1149)
OKLCHoklch(85.21% 0.123 110.8)
XYZxyz(53.7204, 63.0336, 25.5531)
Luminance0.6303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D673 #7773D6
analogous
#D6A973 #D2D673 #A1D673
triadic
#D2D673 #73D2D6 #D673D2
tetradic
#D2D673 #73D6A9 #7773D6 #D673A1
square
#D2D673 #73D6A9 #7773D6 #D673A1
split-complementary
#D2D673 #73A1D6 #A973D6
monochromatic
#9BA02F #C3C844 #D2D673 #E1E4A2 #F0F2D2

Accessibility & contrast

On white

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

On black

13.61
#D2D673 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D673
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D673#FFFFFF#000000##000000
##D2D6731.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE6A
Deuteranopia (green-blind)
#E4D178
Tritanopia (blue-blind)
#DECCBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d673;
/* rgb */ color: rgb(210, 214, 115);
/* oklch */ color: oklch(85.2% 0.123 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e29d',
    500: '#d2d673',
    950: '#000000',
  },
}
SCSS
$custom: #d2d673;
$custom-light: #e1e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d673",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 115
  },
  "hsl": {
    "h": 62.424,
    "s": 54.696,
    "l": 64.51
  },
  "oklch": {
    "l": 0.85208,
    "c": 0.12286,
    "h": 110.8
  },
  "luminance": 0.63033
}

Semantic roles & 50–950 ramp

primary
#D2D673
secondary
#4D49A4
accent
#23C22A
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D673

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

Preview Lab → · Contrast checker → · Palette generator →

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