#D7D950#D7D950

#D7D950 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 85.9% C 0.156 H 110.1°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#D7D950
RGBrgb(215, 217, 80)
HSLhsl(61, 64%, 58%)
HSVhsv(61, 63%, 85%)
CMYKcmyk(0.9%, 0%, 63.1%, 14.9%)
CIE-LABlab(84.30, -17.50, 64.81)
CIE-LCHlch(84.30, 67.13, 105.11°)
OKLaboklab(85.87% -0.0537 0.1468)
OKLCHoklch(85.87% 0.156 110.1)
XYZxyz(54.2868, 64.6534, 17.2075)
Luminance0.6465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D950 #5250D9
analogous
#D99650 #D7D950 #92D950
triadic
#D7D950 #50D7D9 #D950D7
tetradic
#D7D950 #50D996 #5250D9 #D95092
square
#D7D950 #50D996 #5250D9 #D95092
split-complementary
#D7D950 #5092D9 #9650D9
monochromatic
#8E8F1F #C0C22A #D7D950 #E2E482 #EEEFB5

Accessibility & contrast

On white

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

On black

13.93
#D7D950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D950
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D950#FFFFFF#000000##000000
##D7D9501.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03E
Deuteranopia (green-blind)
#EBD459
Tritanopia (blue-blind)
#E5CCBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d950;
/* rgb */ color: rgb(215, 217, 80);
/* oklch */ color: oklch(85.9% 0.156 110.1);
Tailwind
colors: {
  custom: {
    50: '#e6e488',
    500: '#d7d950',
    950: '#000000',
  },
}
SCSS
$custom: #d7d950;
$custom-light: #e6e488;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d950",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 80
  },
  "hsl": {
    "h": 60.876,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.85866,
    "c": 0.1563,
    "h": 110.1
  },
  "luminance": 0.64652
}

Semantic roles & 50–950 ramp

primary
#D7D950
secondary
#3A3895
accent
#40E743
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D950

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

Preview Lab → · Contrast checker → · Palette generator →

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