#D7BA47#D7BA47

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

Color values

HEX#D7BA47
RGBrgb(215, 186, 71)
HSLhsl(48, 64%, 56%)
HSVhsv(48, 67%, 84%)
CMYKcmyk(0%, 13.5%, 67%, 15.7%)
CIE-LABlab(76.08, -2.30, 59.89)
CIE-LCHlch(76.08, 59.94, 92.20°)
OKLaboklab(79.31% -0.0115 0.135)
OKLCHoklch(79.31% 0.136 94.9)
XYZxyz(46.7228, 50.0223, 13.1543)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA47 #4764D7
analogous
#D77247 #D7BA47 #ACD747
triadic
#D7BA47 #47D7BA #BA47D7
tetradic
#D7BA47 #47D772 #4764D7 #D747AC
square
#D7BA47 #47D772 #4764D7 #D747AC
split-complementary
#D7BA47 #47ACD7 #7247D7
monochromatic
#86711D #B99C28 #D7BA47 #E2CD79 #EDE0AC

Accessibility & contrast

On white

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

On black

11.00
#D7BA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BA47
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BA47#FFFFFF#000000##000000
##D7BA471.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ba47;
/* rgb */ color: rgb(215, 186, 71);
/* oklch */ color: oklch(79.3% 0.136 94.9);
Tailwind
colors: {
  custom: {
    50: '#e7ce80',
    500: '#d7ba47',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba47;
$custom-light: #e7ce80;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba47",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 47.917,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79309,
    "c": 0.13551,
    "h": 94.9
  },
  "luminance": 0.5002
}

Semantic roles & 50–950 ramp

primary
#D7BA47
secondary
#35478D
accent
#62E741
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D7BA47

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

Preview Lab → · Contrast checker → · Palette generator →

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