#D9D246#D9D246

#D9D246 is a very light, vivid yellow. Relative luminance 0.613; OKLCH L 84.5% C 0.156 H 106.5°. Best body text is #000000 at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#D9D246
RGBrgb(217, 210, 70)
HSLhsl(57, 66%, 56%)
HSVhsv(57, 68%, 85%)
CMYKcmyk(0%, 3.2%, 67.7%, 14.9%)
CIE-LABlab(82.53, -13.77, 66.95)
CIE-LCHlch(82.53, 68.35, 101.62°)
OKLaboklab(84.47% -0.0443 0.1497)
OKLCHoklch(84.47% 0.156 106.5)
XYZxyz(52.7693, 61.2889, 14.8434)
Luminance0.6129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D246 #464DD9
analogous
#D98946 #D9D246 #97D946
triadic
#D9D246 #46D9D2 #D246D9
tetradic
#D9D246 #46D989 #464DD9 #D94697
square
#D9D246 #46D989 #464DD9 #D94697
split-complementary
#D9D246 #4697D9 #8946D9
monochromatic
#89831C #BBB426 #D9D246 #E3DE79 #EEEBAC

Accessibility & contrast

On white

1.58
#D9D246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.26
#D9D246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D246
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D246#FFFFFF#000000##000000
##D9D2461.001.5813.2613.26
#FFFFFF1.581.0021.0021.00
#00000013.2621.001.001.00
##00000013.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA31
Deuteranopia (green-blind)
#E7D04F
Tritanopia (blue-blind)
#E8C4B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d246;
/* rgb */ color: rgb(217, 210, 70);
/* oklch */ color: oklch(84.5% 0.156 106.5);
Tailwind
colors: {
  custom: {
    50: '#e8df81',
    500: '#d9d246',
    950: '#000000',
  },
}
SCSS
$custom: #d9d246;
$custom-light: #e8df81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d246",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 70
  },
  "hsl": {
    "h": 57.143,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8447,
    "c": 0.15612,
    "h": 106.5
  },
  "luminance": 0.61287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D246

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

Preview Lab → · Contrast checker → · Palette generator →

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