#D7D949#D7D949

#D7D949 is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.8% C 0.161 H 110.1°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#D7D949
RGBrgb(215, 217, 73)
HSLhsl(61, 65%, 57%)
HSVhsv(61, 66%, 85%)
CMYKcmyk(0.9%, 0%, 66.4%, 14.9%)
CIE-LABlab(84.25, -17.91, 67.50)
CIE-LCHlch(84.25, 69.83, 104.86°)
OKLaboklab(85.81% -0.0555 0.1514)
OKLCHoklch(85.81% 0.161 110.1)
XYZxyz(54.0415, 64.5553, 15.9157)
Luminance0.6455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D949 #4B49D9
analogous
#D99349 #D7D949 #8FD949
triadic
#D7D949 #49D7D9 #D949D7
tetradic
#D7D949 #49D993 #4B49D9 #D9498F
square
#D7D949 #49D993 #4B49D9 #D9498F
split-complementary
#D7D949 #498FD9 #9349D9
monochromatic
#898B1D #BBBD28 #D7D949 #E2E47C #EDEEAE

Accessibility & contrast

On white

1.51
#D7D949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#D7D949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D949
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D949#FFFFFF#000000##000000
##D7D9491.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD034
Deuteranopia (green-blind)
#EBD453
Tritanopia (blue-blind)
#E6CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d949;
/* rgb */ color: rgb(215, 217, 73);
/* oklch */ color: oklch(85.8% 0.161 110.1);
Tailwind
colors: {
  custom: {
    50: '#e7e484',
    500: '#d7d949',
    950: '#000000',
  },
}
SCSS
$custom: #d7d949;
$custom-light: #e7e484;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d949",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 73
  },
  "hsl": {
    "h": 60.833,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.8581,
    "c": 0.16126,
    "h": 110.1
  },
  "luminance": 0.64554
}

Semantic roles & 50–950 ramp

primary
#D7D949
secondary
#373691
accent
#3FE842
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D949

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

Preview Lab → · Contrast checker → · Palette generator →

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