#D9D148#D9D148

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

Color values

HEX#D9D148
RGBrgb(217, 209, 72)
HSLhsl(57, 66%, 57%)
HSVhsv(57, 67%, 85%)
CMYKcmyk(0%, 3.7%, 66.8%, 14.9%)
CIE-LABlab(82.28, -13.16, 65.93)
CIE-LCHlch(82.28, 67.23, 101.29°)
OKLaboklab(84.27% -0.0424 0.1479)
OKLCHoklch(84.27% 0.154 106)
XYZxyz(52.5874, 60.8224, 15.0995)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D148 #4850D9
analogous
#D98948 #D9D148 #98D948
triadic
#D9D148 #48D9D1 #D148D9
tetradic
#D9D148 #48D989 #4850D9 #D94898
square
#D9D148 #48D989 #4850D9 #D94898
split-complementary
#D9D148 #4898D9 #8948D9
monochromatic
#8A841D #BDB427 #D9D148 #E4DE7B #EEEAAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D148#FFFFFF#000000##000000
##D9D1481.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)
#E2C934
Deuteranopia (green-blind)
#E6CF51
Tritanopia (blue-blind)
#E8C3B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d148;
/* rgb */ color: rgb(217, 209, 72);
/* oklch */ color: oklch(84.3% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#e8de82',
    500: '#d9d148',
    950: '#000000',
  },
}
SCSS
$custom: #d9d148;
$custom-light: #e8de82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d148",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 56.69,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84274,
    "c": 0.15383,
    "h": 106
  },
  "luminance": 0.60821
}

Semantic roles & 50–950 ramp

primary
#D9D148
secondary
#353A90
accent
#49E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D148

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

Preview Lab → · Contrast checker → · Palette generator →

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