#D7D249#D7D249

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

Color values

HEX#D7D249
RGBrgb(215, 210, 73)
HSLhsl(58, 64%, 56%)
HSVhsv(58, 66%, 84%)
CMYKcmyk(0%, 2.3%, 66%, 15.7%)
CIE-LABlab(82.39, -14.44, 65.60)
CIE-LCHlch(82.39, 67.17, 102.41°)
OKLaboklab(84.32% -0.0458 0.1474)
OKLCHoklch(84.32% 0.154 107.3)
XYZxyz(52.2754, 61.0230, 15.3270)
Luminance0.6102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D249 #494ED7
analogous
#D78B49 #D7D249 #95D749
triadic
#D7D249 #49D7D2 #D249D7
tetradic
#D7D249 #49D78B #494ED7 #D74995
square
#D7D249 #49D78B #494ED7 #D74995
split-complementary
#D7D249 #4995D7 #8B49D7
monochromatic
#88841E #BAB529 #D7D249 #E2DE7B #EDEBAD

Accessibility & contrast

On white

1.59
#D7D249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.20
#D7D249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D249
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D249#FFFFFF#000000##000000
##D7D2491.001.5913.2013.20
#FFFFFF1.591.0021.0021.00
#00000013.2021.001.001.00
##00000013.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA36
Deuteranopia (green-blind)
#E6CF52
Tritanopia (blue-blind)
#E6C5B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d249;
/* rgb */ color: rgb(215, 210, 73);
/* oklch */ color: oklch(84.3% 0.154 107.3);
Tailwind
colors: {
  custom: {
    50: '#e7df83',
    500: '#d7d249',
    950: '#000000',
  },
}
SCSS
$custom: #d7d249;
$custom-light: #e7df83;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d249",
  "rgb": {
    "r": 215,
    "g": 210,
    "b": 73
  },
  "hsl": {
    "h": 57.887,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.84323,
    "c": 0.15434,
    "h": 107.3
  },
  "luminance": 0.61021
}

Semantic roles & 50–950 ramp

primary
#D7D249
secondary
#36398E
accent
#47E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D249

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

Preview Lab → · Contrast checker → · Palette generator →

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