#D9D374#D9D374

#D9D374 is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.2% C 0.118 H 105.4°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D9D374
RGBrgb(217, 211, 116)
HSLhsl(56, 57%, 65%)
HSVhsv(56, 47%, 85%)
CMYKcmyk(0%, 2.8%, 46.5%, 14.9%)
CIE-LABlab(83.23, -10.91, 47.49)
CIE-LCHlch(83.23, 48.72, 102.94°)
OKLaboklab(85.17% -0.0313 0.1135)
OKLCHoklch(85.17% 0.118 105.4)
XYZxyz(55.0632, 62.6027, 25.7026)
Luminance0.6260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D374 #747AD9
analogous
#D9A174 #D9D374 #ACD974
triadic
#D9D374 #74D9D3 #D374D9
tetradic
#D9D374 #74D9A1 #747AD9 #D974AC
square
#D9D374 #74D9A1 #747AD9 #D974AC
split-complementary
#D9D374 #74ACD9 #A174D9
monochromatic
#A59E2D #CCC444 #D9D374 #E6E2A4 #F3F1D4

Accessibility & contrast

On white

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

On black

13.52
#D9D374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D374
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D374#FFFFFF#000000##000000
##D9D3741.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6C
Deuteranopia (green-blind)
#E4D178
Tritanopia (blue-blind)
#E6C8BD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d9d374;
/* rgb */ color: rgb(217, 211, 116);
/* oklch */ color: oklch(85.2% 0.118 105.4);
Tailwind
colors: {
  custom: {
    50: '#e6e09e',
    500: '#d9d374',
    950: '#000000',
  },
}
SCSS
$custom: #d9d374;
$custom-light: #e6e09e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d374",
  "rgb": {
    "r": 217,
    "g": 211,
    "b": 116
  },
  "hsl": {
    "h": 56.436,
    "s": 57.062,
    "l": 65.294
  },
  "oklch": {
    "l": 0.85166,
    "c": 0.11769,
    "h": 105.4
  },
  "luminance": 0.62601
}

Semantic roles & 50–950 ramp

primary
#D9D374
secondary
#484EA9
accent
#2BC521
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D9D374

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

Preview Lab → · Contrast checker → · Palette generator →

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