#D9D348#D9D348

#D9D348 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.7% C 0.156 H 106.9°. Best body text is #000000 at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#D9D348
RGBrgb(217, 211, 72)
HSLhsl(58, 66%, 57%)
HSVhsv(58, 67%, 85%)
CMYKcmyk(0%, 2.8%, 66.8%, 14.9%)
CIE-LABlab(82.81, -14.16, 66.47)
CIE-LCHlch(82.81, 67.96, 102.03°)
OKLaboklab(84.7% -0.0452 0.149)
OKLCHoklch(84.7% 0.156 106.9)
XYZxyz(53.0812, 61.8099, 15.2640)
Luminance0.6181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D348 #484ED9
analogous
#D98B48 #D9D348 #97D948
triadic
#D9D348 #48D9D3 #D348D9
tetradic
#D9D348 #48D98B #484ED9 #D94897
square
#D9D348 #48D98B #484ED9 #D94897
split-complementary
#D9D348 #4897D9 #8B48D9
monochromatic
#8A851D #BDB627 #D9D348 #E4DF7B #EEEBAD

Accessibility & contrast

On white

1.57
#D9D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.36
#D9D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D348
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D348#FFFFFF#000000##000000
##D9D3481.001.5713.3613.36
#FFFFFF1.571.0021.0021.00
#00000013.3621.001.001.00
##00000013.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB34
Deuteranopia (green-blind)
#E7D151
Tritanopia (blue-blind)
#E8C5B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d9d348;
/* rgb */ color: rgb(217, 211, 72);
/* oklch */ color: oklch(84.7% 0.156 106.9);
Tailwind
colors: {
  custom: {
    50: '#e8e083',
    500: '#d9d348',
    950: '#000000',
  },
}
SCSS
$custom: #d9d348;
$custom-light: #e8e083;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d348",
  "rgb": {
    "r": 217,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 57.517,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84696,
    "c": 0.15572,
    "h": 106.9
  },
  "luminance": 0.61808
}

Semantic roles & 50–950 ramp

primary
#D9D348
secondary
#353990
accent
#46E93F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D9D348

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

Preview Lab → · Contrast checker → · Palette generator →

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