#D7BA50#D7BA50

#D7BA50 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.129 H 93.9°. Best body text is #000000 at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#D7BA50
RGBrgb(215, 186, 80)
HSLhsl(47, 63%, 58%)
HSVhsv(47, 63%, 84%)
CMYKcmyk(0%, 13.5%, 62.8%, 15.7%)
CIE-LABlab(76.16, -1.76, 56.09)
CIE-LCHlch(76.16, 56.11, 91.79°)
OKLaboklab(79.39% -0.0088 0.1283)
OKLCHoklch(79.39% 0.129 93.9)
XYZxyz(47.0334, 50.1465, 14.7897)
Luminance0.5014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA50 #506DD7
analogous
#D77650 #D7BA50 #B1D750
triadic
#D7BA50 #50D7BA #BA50D7
tetradic
#D7BA50 #50D776 #506DD7 #D750B1
square
#D7BA50 #50D776 #506DD7 #D750B1
split-complementary
#D7BA50 #50B1D7 #7650D7
monochromatic
#8C7520 #BE9F2B #D7BA50 #E2CE82 #EEE1B4

Accessibility & contrast

On white

1.90
#D7BA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.03
#D7BA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA50
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA50#FFFFFF#000000##000000
##D7BA501.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB744
Deuteranopia (green-blind)
#D3C055
Tritanopia (blue-blind)
#E7ADA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7ba50;
/* rgb */ color: rgb(215, 186, 80);
/* oklch */ color: oklch(79.4% 0.129 93.9);
Tailwind
colors: {
  custom: {
    50: '#e7ce85',
    500: '#d7ba50',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba50;
$custom-light: #e7ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba50",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 47.111,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79394,
    "c": 0.12862,
    "h": 93.9
  },
  "luminance": 0.50144
}

Semantic roles & 50–950 ramp

primary
#D7BA50
secondary
#394C92
accent
#65E642
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BA50

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

Preview Lab → · Contrast checker → · Palette generator →

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