#D7BF51#D7BF51

#D7BF51 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.132 H 97.0°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D7BF51
RGBrgb(215, 191, 81)
HSLhsl(49, 63%, 58%)
HSVhsv(49, 62%, 84%)
CMYKcmyk(0%, 11.2%, 62.3%, 15.7%)
CIE-LABlab(77.46, -4.29, 57.07)
CIE-LCHlch(77.46, 57.23, 94.30°)
OKLaboklab(80.43% -0.016 0.1306)
OKLCHoklch(80.43% 0.132 97)
XYZxyz(48.1424, 52.3050, 15.3430)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF51 #5169D7
analogous
#D77C51 #D7BF51 #ACD751
triadic
#D7BF51 #51D7BF #BF51D7
tetradic
#D7BF51 #51D77C #5169D7 #D751AC
square
#D7BF51 #51D77C #5169D7 #D751AC
split-complementary
#D7BF51 #51ACD7 #7C51D7
monochromatic
#8D7A20 #BFA52C #D7BF51 #E2D183 #EEE4B5

Accessibility & contrast

On white

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

On black

11.46
#D7BF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7BF51
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7BF51#FFFFFF#000000##000000
##D7BF511.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB45
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E7B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf51;
/* rgb */ color: rgb(215, 191, 81);
/* oklch */ color: oklch(80.4% 0.132 97.0);
Tailwind
colors: {
  custom: {
    50: '#e6d286',
    500: '#d7bf51',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf51;
$custom-light: #e6d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf51",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 81
  },
  "hsl": {
    "h": 49.254,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.80428,
    "c": 0.13153,
    "h": 97
  },
  "luminance": 0.52303
}

Semantic roles & 50–950 ramp

primary
#D7BF51
secondary
#394993
accent
#5FE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7BF51

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

Preview Lab → · Contrast checker → · Palette generator →

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