#D7BF49#D7BF49

#D7BF49 is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.138 H 97.7°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D7BF49
RGBrgb(215, 191, 73)
HSLhsl(50, 64%, 56%)
HSVhsv(50, 66%, 84%)
CMYKcmyk(0%, 11.2%, 66%, 15.7%)
CIE-LABlab(77.40, -4.78, 60.43)
CIE-LCHlch(77.40, 60.62, 94.52°)
OKLaboklab(80.35% -0.0184 0.1365)
OKLCHoklch(80.35% 0.138 97.7)
XYZxyz(47.8599, 52.1920, 13.8552)
Luminance0.5219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF49 #4961D7
analogous
#D77849 #D7BF49 #A8D749
triadic
#D7BF49 #49D7BF #BF49D7
tetradic
#D7BF49 #49D778 #4961D7 #D749A8
square
#D7BF49 #49D778 #4961D7 #D749A8
split-complementary
#D7BF49 #49A8D7 #7849D7
monochromatic
#88761E #BAA129 #D7BF49 #E2D17B #EDE2AD

Accessibility & contrast

On white

1.84
#D7BF49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D7BF49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF49
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF49#FFFFFF#000000##000000
##D7BF491.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3A
Deuteranopia (green-blind)
#D7C34F
Tritanopia (blue-blind)
#E7B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf49;
/* rgb */ color: rgb(215, 191, 73);
/* oklch */ color: oklch(80.4% 0.138 97.7);
Tailwind
colors: {
  custom: {
    50: '#e7d281',
    500: '#d7bf49',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf49;
$custom-light: #e7d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf49",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 73
  },
  "hsl": {
    "h": 49.859,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80353,
    "c": 0.13771,
    "h": 97.7
  },
  "luminance": 0.5219
}

Semantic roles & 50–950 ramp

primary
#D7BF49
secondary
#36458E
accent
#5DE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF49

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

Preview Lab → · Contrast checker → · Palette generator →

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