#D7BA53#D7BA53

#D7BA53 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.126 H 93.6°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#D7BA53
RGBrgb(215, 186, 83)
HSLhsl(47, 62%, 58%)
HSVhsv(47, 61%, 84%)
CMYKcmyk(0%, 13.5%, 61.4%, 15.7%)
CIE-LABlab(76.19, -1.56, 54.77)
CIE-LCHlch(76.19, 54.79, 91.63°)
OKLaboklab(79.43% -0.0079 0.1259)
OKLCHoklch(79.43% 0.126 93.6)
XYZxyz(47.1467, 50.1918, 15.3866)
Luminance0.5019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA53 #5370D7
analogous
#D77853 #D7BA53 #B2D753
triadic
#D7BA53 #53D7BA #BA53D7
tetradic
#D7BA53 #53D778 #5370D7 #D753B2
square
#D7BA53 #53D778 #5370D7 #D753B2
split-complementary
#D7BA53 #53B2D7 #7853D7
monochromatic
#8E7621 #C0A02D #D7BA53 #E3CE85 #EEE2B6

Accessibility & contrast

On white

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

On black

11.04
#D7BA53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA53
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA53#FFFFFF#000000##000000
##D7BA531.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB748
Deuteranopia (green-blind)
#D3C058
Tritanopia (blue-blind)
#E7ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7ba53;
/* rgb */ color: rgb(215, 186, 83);
/* oklch */ color: oklch(79.4% 0.126 93.6);
Tailwind
colors: {
  custom: {
    50: '#e6ce87',
    500: '#d7ba53',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba53;
$custom-light: #e6ce87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba53",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 83
  },
  "hsl": {
    "h": 46.818,
    "s": 62.264,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79425,
    "c": 0.12617,
    "h": 93.6
  },
  "luminance": 0.50189
}

Semantic roles & 50–950 ramp

primary
#D7BA53
secondary
#3A4E94
accent
#66E542
background
#FFFEFC
surface
#FEFAF3
border
#D6D3CD
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BA53

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

Preview Lab → · Contrast checker → · Palette generator →

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