#D7BB46#D7BB46

#D7BB46 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.137 H 95.5°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D7BB46
RGBrgb(215, 187, 70)
HSLhsl(48, 64%, 56%)
HSVhsv(48, 67%, 84%)
CMYKcmyk(0%, 13%, 67.4%, 15.7%)
CIE-LABlab(76.33, -2.88, 60.57)
CIE-LCHlch(76.33, 60.64, 92.72°)
OKLaboklab(79.51% -0.0132 0.1363)
OKLCHoklch(79.51% 0.137 95.5)
XYZxyz(46.9024, 50.4323, 13.0571)
Luminance0.5043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BB46 #4662D7
analogous
#D77246 #D7BB46 #AAD746
triadic
#D7BB46 #46D7BB #BB46D7
tetradic
#D7BB46 #46D772 #4662D7 #D746AA
square
#D7BB46 #46D772 #4662D7 #D746AA
split-complementary
#D7BB46 #46AAD7 #7246D7
monochromatic
#86711D #B89C28 #D7BB46 #E2CD78 #EDE0AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BB46#FFFFFF#000000##000000
##D7BB461.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)
#CEB737
Deuteranopia (green-blind)
#D5C04C
Tritanopia (blue-blind)
#E8ADA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d7bb46;
/* rgb */ color: rgb(215, 187, 70);
/* oklch */ color: oklch(79.5% 0.137 95.5);
Tailwind
colors: {
  custom: {
    50: '#e7cf7f',
    500: '#d7bb46',
    950: '#000000',
  },
}
SCSS
$custom: #d7bb46;
$custom-light: #e7cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bb46",
  "rgb": {
    "r": 215,
    "g": 187,
    "b": 70
  },
  "hsl": {
    "h": 48.414,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79505,
    "c": 0.13693,
    "h": 95.5
  },
  "luminance": 0.5043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BB46

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

Preview Lab → · Contrast checker → · Palette generator →

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