#D7BF56#D7BF56

#D7BF56 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.127 H 96.5°. Best body text is #000000 at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#D7BF56
RGBrgb(215, 191, 86)
HSLhsl(49, 62%, 59%)
HSVhsv(49, 60%, 84%)
CMYKcmyk(0%, 11.2%, 60%, 15.7%)
CIE-LABlab(77.51, -3.96, 54.88)
CIE-LCHlch(77.51, 55.02, 94.12°)
OKLaboklab(80.48% -0.0145 0.1266)
OKLCHoklch(80.48% 0.127 96.5)
XYZxyz(48.3369, 52.3828, 16.3671)
Luminance0.5238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF56 #566ED7
analogous
#D77F56 #D7BF56 #AFD756
triadic
#D7BF56 #56D7BF #BF56D7
tetradic
#D7BF56 #56D77F #566ED7 #D756AF
square
#D7BF56 #56D77F #566ED7 #D756AF
split-complementary
#D7BF56 #56AFD7 #7F56D7
monochromatic
#907C22 #C2A62E #D7BF56 #E3D287 #EEE4B9

Accessibility & contrast

On white

1.83
#D7BF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.48
#D7BF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF56
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF56#FFFFFF#000000##000000
##D7BF561.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4B
Deuteranopia (green-blind)
#D7C35B
Tritanopia (blue-blind)
#E7B2A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf56;
/* rgb */ color: rgb(215, 191, 86);
/* oklch */ color: oklch(80.5% 0.127 96.5);
Tailwind
colors: {
  custom: {
    50: '#e6d289',
    500: '#d7bf56',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf56;
$custom-light: #e6d289;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf56",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 86
  },
  "hsl": {
    "h": 48.837,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8048,
    "c": 0.12738,
    "h": 96.5
  },
  "luminance": 0.52381
}

Semantic roles & 50–950 ramp

primary
#D7BF56
secondary
#3B4C96
accent
#61E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7BF56

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

Preview Lab → · Contrast checker → · Palette generator →

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