#D7D850#D7D850

#D7D850 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.7% C 0.155 H 109.7°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#D7D850
RGBrgb(215, 216, 80)
HSLhsl(60, 64%, 58%)
HSVhsv(60, 63%, 85%)
CMYKcmyk(0.5%, 0%, 63%, 15.3%)
CIE-LABlab(84.04, -17.01, 64.53)
CIE-LCHlch(84.04, 66.73, 104.77°)
OKLaboklab(85.65% -0.0523 0.1462)
OKLCHoklch(85.65% 0.155 109.7)
XYZxyz(54.0299, 64.1395, 17.1219)
Luminance0.6414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D850 #5150D8
analogous
#D89550 #D7D850 #93D850
triadic
#D7D850 #50D7D8 #D850D7
tetradic
#D7D850 #50D895 #5150D8 #D85093
square
#D7D850 #50D895 #5150D8 #D85093
split-complementary
#D7D850 #5093D8 #9550D8
monochromatic
#8D8E20 #BFC02B #D7D850 #E2E382 #EEEEB4

Accessibility & contrast

On white

1.52
#D7D850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.83
#D7D850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D850
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D850#FFFFFF#000000##000000
##D7D8501.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3E
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#E5CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d850;
/* rgb */ color: rgb(215, 216, 80);
/* oklch */ color: oklch(85.7% 0.155 109.7);
Tailwind
colors: {
  custom: {
    50: '#e6e387',
    500: '#d7d850',
    950: '#000000',
  },
}
SCSS
$custom: #d7d850;
$custom-light: #e6e387;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d850",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 80
  },
  "hsl": {
    "h": 60.441,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.85654,
    "c": 0.15528,
    "h": 109.7
  },
  "luminance": 0.64138
}

Semantic roles & 50–950 ramp

primary
#D7D850
secondary
#393994
accent
#41E742
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D850

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

Preview Lab → · Contrast checker → · Palette generator →

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