#D7C650#D7C650

#D7C650 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.9% C 0.138 H 101.1°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D7C650
RGBrgb(215, 198, 80)
HSLhsl(52, 63%, 58%)
HSVhsv(52, 63%, 84%)
CMYKcmyk(0%, 7.9%, 62.8%, 15.7%)
CIE-LABlab(79.28, -7.96, 59.47)
CIE-LCHlch(79.28, 60.00, 97.62°)
OKLaboklab(81.87% -0.0266 0.1355)
OKLCHoklch(81.87% 0.138 101.1)
XYZxyz(49.6684, 55.4165, 15.6681)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C650 #5061D7
analogous
#D78250 #D7C650 #A5D750
triadic
#D7C650 #50D7C6 #C650D7
tetradic
#D7C650 #50D782 #5061D7 #D750A5
square
#D7C650 #50D782 #5061D7 #D750A5
split-complementary
#D7C650 #50A5D7 #8250D7
monochromatic
#8C7F20 #BEAC2B #D7C650 #E2D682 #EEE6B4

Accessibility & contrast

On white

1.74
#D7C650 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#D7C650 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C650
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C650#FFFFFF#000000##000000
##D7C6501.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C042
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#E7B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c650;
/* rgb */ color: rgb(215, 198, 80);
/* oklch */ color: oklch(81.9% 0.138 101.1);
Tailwind
colors: {
  custom: {
    50: '#e6d786',
    500: '#d7c650',
    950: '#000000',
  },
}
SCSS
$custom: #d7c650;
$custom-light: #e6d786;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c650",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 80
  },
  "hsl": {
    "h": 52.444,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81866,
    "c": 0.1381,
    "h": 101.1
  },
  "luminance": 0.55414
}

Semantic roles & 50–950 ramp

primary
#D7C650
secondary
#394492
accent
#57E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C650

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

Preview Lab → · Contrast checker → · Palette generator →

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