#D7D450#D7D450

#D7D450 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.8% C 0.151 H 108.0°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D7D450
RGBrgb(215, 212, 80)
HSLhsl(59, 63%, 58%)
HSVhsv(59, 63%, 84%)
CMYKcmyk(0%, 1.4%, 62.8%, 15.7%)
CIE-LABlab(82.97, -15.03, 63.41)
CIE-LCHlch(82.97, 65.16, 103.33°)
OKLaboklab(84.81% -0.0467 0.1438)
OKLCHoklch(84.81% 0.151 108)
XYZxyz(53.0175, 62.1148, 16.7844)
Luminance0.6211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D450 #5053D7
analogous
#D79150 #D7D450 #96D750
triadic
#D7D450 #50D7D4 #D450D7
tetradic
#D7D450 #50D791 #5053D7 #D75096
square
#D7D450 #50D791 #5053D7 #D75096
split-complementary
#D7D450 #5096D7 #9150D7
monochromatic
#8C8A20 #BEBB2B #D7D450 #E2E082 #EEECB4

Accessibility & contrast

On white

1.56
#D7D450 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D7D450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D450
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D450#FFFFFF#000000##000000
##D7D4501.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC3F
Deuteranopia (green-blind)
#E7D158
Tritanopia (blue-blind)
#E6C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d450;
/* rgb */ color: rgb(215, 212, 80);
/* oklch */ color: oklch(84.8% 0.151 108.0);
Tailwind
colors: {
  custom: {
    50: '#e6e187',
    500: '#d7d450',
    950: '#000000',
  },
}
SCSS
$custom: #d7d450;
$custom-light: #e6e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d450",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 80
  },
  "hsl": {
    "h": 58.667,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.84805,
    "c": 0.15123,
    "h": 108
  },
  "luminance": 0.62113
}

Semantic roles & 50–950 ramp

primary
#D7D450
secondary
#393B92
accent
#46E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D450

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

Preview Lab → · Contrast checker → · Palette generator →

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