#D7BA46#D7BA46

#D7BA46 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#D7BA46
RGBrgb(215, 186, 70)
HSLhsl(48, 64%, 56%)
HSVhsv(48, 67%, 84%)
CMYKcmyk(0%, 13.5%, 67.4%, 15.7%)
CIE-LABlab(76.08, -2.36, 60.30)
CIE-LCHlch(76.08, 60.35, 92.24°)
OKLaboklab(79.3% -0.0117 0.1357)
OKLCHoklch(79.3% 0.136 94.9)
XYZxyz(46.6910, 50.0095, 12.9866)
Luminance0.5001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BA46 #4663D7
analogous
#D77146 #D7BA46 #ABD746
triadic
#D7BA46 #46D7BA #BA46D7
tetradic
#D7BA46 #46D771 #4663D7 #D746AB
square
#D7BA46 #46D771 #4663D7 #D746AB
split-complementary
#D7BA46 #46ABD7 #7146D7
monochromatic
#86711D #B89B28 #D7BA46 #E2CD78 #EDE0AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BA46#FFFFFF#000000##000000
##D7BA461.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)
#CDB637
Deuteranopia (green-blind)
#D4BF4C
Tritanopia (blue-blind)
#E8ACA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7ba46;
/* rgb */ color: rgb(215, 186, 70);
/* oklch */ color: oklch(79.3% 0.136 94.9);
Tailwind
colors: {
  custom: {
    50: '#e7ce7f',
    500: '#d7ba46',
    950: '#000000',
  },
}
SCSS
$custom: #d7ba46;
$custom-light: #e7ce7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ba46",
  "rgb": {
    "r": 215,
    "g": 186,
    "b": 70
  },
  "hsl": {
    "h": 48,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79301,
    "c": 0.13623,
    "h": 94.9
  },
  "luminance": 0.50007
}

Semantic roles & 50–950 ramp

primary
#D7BA46
secondary
#35468C
accent
#62E740
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D7BA46

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

Preview Lab → · Contrast checker → · Palette generator →

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