#D7BA61#D7BA61

#D7BA61 is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.6% C 0.114 H 91.6°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D7BA61
RGBrgb(215, 186, 97)
HSLhsl(45, 60%, 61%)
HSVhsv(45, 55%, 84%)
CMYKcmyk(0%, 13.5%, 54.9%, 15.7%)
CIE-LABlab(76.33, -0.53, 48.37)
CIE-LCHlch(76.33, 48.37, 90.62°)
OKLaboklab(79.59% -0.0032 0.1138)
OKLCHoklch(79.59% 0.114 91.6)
XYZxyz(47.7428, 50.4303, 18.5262)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA61 #617ED7
analogous
#D77F61 #D7BA61 #B9D761
triadic
#D7BA61 #61D7BA #BA61D7
tetradic
#D7BA61 #61D77F #617ED7 #D761B9
square
#D7BA61 #61D77F #617ED7 #D761B9
split-complementary
#D7BA61 #61B9D7 #7F61D7
monochromatic
#977C26 #C8A333 #D7BA61 #E3CF92 #F0E5C3

Accessibility & contrast

On white

1.89
#D7BA61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#D7BA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA61
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA61#FFFFFF#000000##000000
##D7BA611.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB759
Deuteranopia (green-blind)
#D2C065
Tritanopia (blue-blind)
#E6AEA6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7ba61;
/* rgb */ color: rgb(215, 186, 97);
/* oklch */ color: oklch(79.6% 0.114 91.6);
Tailwind
colors: {
  custom: {
    50: '#e6ce90',
    500: '#d7ba61',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba61;
$custom-light: #e6ce90;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba61",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 97
  },
  "hsl": {
    "h": 45.254,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.79587,
    "c": 0.11382,
    "h": 91.6
  },
  "luminance": 0.50428
}

Semantic roles & 50–950 ramp

primary
#D7BA61
secondary
#40579C
accent
#48C71E
background
#FEFEFC
surface
#FDFAF4
border
#D5D3CE
text
#16130D
muted
#84837F

Preview Lab

Preview with #D7BA61

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

Preview Lab → · Contrast checker → · Palette generator →

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