#D7E949#D7E949

#D7E949 is a very light, vivid yellow. Relative luminance 0.732; OKLCH L 89.2% C 0.178 H 115.7°. Best body text is #000000 at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#D7E949
RGBrgb(215, 233, 73)
HSLhsl(67, 78%, 60%)
HSVhsv(67, 69%, 91%)
CMYKcmyk(7.7%, 0%, 68.7%, 8.6%)
CIE-LABlab(88.55, -25.64, 71.81)
CIE-LCHlch(88.55, 76.25, 109.65°)
OKLaboklab(89.25% -0.0771 0.1605)
OKLCHoklch(89.25% 0.178 115.7)
XYZxyz(58.3673, 73.2068, 17.3576)
Luminance0.7321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7E949 #5B49E9
analogous
#E9AB49 #D7E949 #87E949
triadic
#D7E949 #49D7E9 #E949D7
tetradic
#D7E949 #49E9AB #5B49E9 #E94987
square
#D7E949 #49E9AB #5B49E9 #E94987
split-complementary
#D7E949 #4987E9 #AB49E9
monochromatic
#94A414 #C5DA1A #D7E949 #E3F080 #EFF6B6

Accessibility & contrast

On white

1.34
#D7E949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.64
#D7E949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7E949
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7E949#FFFFFF#000000##000000
##D7E9491.001.3415.6415.64
#FFFFFF1.341.0021.0021.00
#00000015.6421.001.001.00
##00000015.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD2F
Deuteranopia (green-blind)
#F8DF55
Tritanopia (blue-blind)
#E4DCC9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d7e949;
/* rgb */ color: rgb(215, 233, 73);
/* oklch */ color: oklch(89.2% 0.178 115.7);
Tailwind
colors: {
  custom: {
    50: '#e7ef85',
    500: '#d7e949',
    950: '#000000',
  },
}
SCSS
$custom: #d7e949;
$custom-light: #e7ef85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7e949",
  "rgb": {
    "r": 215,
    "g": 233,
    "b": 73
  },
  "hsl": {
    "h": 66.75,
    "s": 78.431,
    "l": 60
  },
  "oklch": {
    "l": 0.89246,
    "c": 0.17806,
    "h": 115.7
  },
  "luminance": 0.73206
}

Semantic roles & 50–950 ramp

primary
#D7E949
secondary
#3E30A6
accent
#33F549
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160C
muted
#85857F

Preview Lab

Preview with #D7E949

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

Preview Lab → · Contrast checker → · Palette generator →

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