#D9D248#D9D248

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

Color values

HEX#D9D248
RGBrgb(217, 210, 72)
HSLhsl(57, 66%, 57%)
HSVhsv(57, 67%, 85%)
CMYKcmyk(0%, 3.2%, 66.8%, 14.9%)
CIE-LABlab(82.55, -13.66, 66.20)
CIE-LCHlch(82.55, 67.60, 101.66°)
OKLaboklab(84.49% -0.0438 0.1485)
OKLCHoklch(84.49% 0.155 106.4)
XYZxyz(52.8335, 61.3146, 15.1815)
Luminance0.6131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D248 #484FD9
analogous
#D98948 #D9D248 #98D948
triadic
#D9D248 #48D9D2 #D248D9
tetradic
#D9D248 #48D989 #484FD9 #D94898
square
#D9D248 #48D989 #484FD9 #D94898
split-complementary
#D9D248 #4898D9 #8948D9
monochromatic
#8A851D #BDB527 #D9D248 #E4DE7B #EEEBAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9D248#FFFFFF#000000##000000
##D9D2481.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)
#E3CA34
Deuteranopia (green-blind)
#E6D051
Tritanopia (blue-blind)
#E8C4B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d9d248;
/* rgb */ color: rgb(217, 210, 72);
/* oklch */ color: oklch(84.5% 0.155 106.4);
Tailwind
colors: {
  custom: {
    50: '#e8df82',
    500: '#d9d248',
    950: '#000000',
  },
}
SCSS
$custom: #d9d248;
$custom-light: #e8df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d248",
  "rgb": {
    "r": 217,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 57.103,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84485,
    "c": 0.15477,
    "h": 106.4
  },
  "luminance": 0.61313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9D248

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

Preview Lab → · Contrast checker → · Palette generator →

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