#D7BA49#D7BA49

#D7BA49 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.3% C 0.134 H 94.7°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D7BA49
RGBrgb(215, 186, 73)
HSLhsl(48, 64%, 56%)
HSVhsv(48, 66%, 84%)
CMYKcmyk(0%, 13.5%, 66%, 15.7%)
CIE-LABlab(76.10, -2.19, 59.07)
CIE-LCHlch(76.10, 59.11, 92.12°)
OKLaboklab(79.33% -0.0109 0.1336)
OKLCHoklch(79.33% 0.134 94.7)
XYZxyz(46.7881, 50.0484, 13.4979)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA49 #4966D7
analogous
#D77349 #D7BA49 #ADD749
triadic
#D7BA49 #49D7BA #BA49D7
tetradic
#D7BA49 #49D773 #4966D7 #D749AD
square
#D7BA49 #49D773 #4966D7 #D749AD
split-complementary
#D7BA49 #49ADD7 #7349D7
monochromatic
#88721E #BA9C29 #D7BA49 #E2CD7B #EDE0AD

Accessibility & contrast

On white

1.91
#D7BA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#D7BA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA49
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA49#FFFFFF#000000##000000
##D7BA491.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63B
Deuteranopia (green-blind)
#D4BF4F
Tritanopia (blue-blind)
#E8ACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7ba49;
/* rgb */ color: rgb(215, 186, 73);
/* oklch */ color: oklch(79.3% 0.134 94.7);
Tailwind
colors: {
  custom: {
    50: '#e7ce81',
    500: '#d7ba49',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba49;
$custom-light: #e7ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba49",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 73
  },
  "hsl": {
    "h": 47.746,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79327,
    "c": 0.13404,
    "h": 94.7
  },
  "luminance": 0.50046
}

Semantic roles & 50–950 ramp

primary
#D7BA49
secondary
#36488E
accent
#63E741
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BA49

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

Preview Lab → · Contrast checker → · Palette generator →

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