#D9D146#D9D146

#D9D146 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.155 H 106.0°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D9D146
RGBrgb(217, 209, 70)
HSLhsl(57, 66%, 56%)
HSVhsv(57, 68%, 85%)
CMYKcmyk(0%, 3.7%, 67.7%, 14.9%)
CIE-LABlab(82.27, -13.27, 66.69)
CIE-LCHlch(82.27, 67.99, 101.25°)
OKLaboklab(84.26% -0.0429 0.1492)
OKLCHoklch(84.26% 0.155 106)
XYZxyz(52.5232, 60.7967, 14.7614)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D146 #464ED9
analogous
#D98846 #D9D146 #98D946
triadic
#D9D146 #46D9D1 #D146D9
tetradic
#D9D146 #46D988 #464ED9 #D94698
square
#D9D146 #46D988 #464ED9 #D94698
split-complementary
#D9D146 #4698D9 #8846D9
monochromatic
#89831C #BBB326 #D9D146 #E3DE79 #EEEAAC

Accessibility & contrast

On white

1.60
#D9D146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D9D146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D146
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D146#FFFFFF#000000##000000
##D9D1461.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C931
Deuteranopia (green-blind)
#E6CF4F
Tritanopia (blue-blind)
#E9C3B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d146;
/* rgb */ color: rgb(217, 209, 70);
/* oklch */ color: oklch(84.3% 0.155 106.0);
Tailwind
colors: {
  custom: {
    50: '#e8de81',
    500: '#d9d146',
    950: '#000000',
  },
}
SCSS
$custom: #d9d146;
$custom-light: #e8de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d146",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 70
  },
  "hsl": {
    "h": 56.735,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84259,
    "c": 0.15519,
    "h": 106
  },
  "luminance": 0.60795
}

Semantic roles & 50–950 ramp

primary
#D9D146
secondary
#35398F
accent
#48E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #D9D146

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

Preview Lab → · Contrast checker → · Palette generator →

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