#D7BF50#D7BF50

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

Color values

HEX#D7BF50
RGBrgb(215, 191, 80)
HSLhsl(49, 63%, 58%)
HSVhsv(49, 63%, 84%)
CMYKcmyk(0%, 11.2%, 62.8%, 15.7%)
CIE-LABlab(77.45, -4.36, 57.50)
CIE-LCHlch(77.45, 57.66, 94.33°)
OKLaboklab(80.42% -0.0163 0.1313)
OKLCHoklch(80.42% 0.132 97.1)
XYZxyz(48.1052, 52.2901, 15.1470)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7BF50 #5068D7
analogous
#D77B50 #D7BF50 #ACD750
triadic
#D7BF50 #50D7BF #BF50D7
tetradic
#D7BF50 #50D77B #5068D7 #D750AC
square
#D7BF50 #50D77B #5068D7 #D750AC
split-complementary
#D7BF50 #50ACD7 #7B50D7
monochromatic
#8C7920 #BEA42B #D7BF50 #E2D182 #EEE3B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7BF50#FFFFFF#000000##000000
##D7BF501.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)
#D1BB43
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#E7B2A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d7bf50;
/* rgb */ color: rgb(215, 191, 80);
/* oklch */ color: oklch(80.4% 0.132 97.1);
Tailwind
colors: {
  custom: {
    50: '#e6d286',
    500: '#d7bf50',
    950: '#000000',
  },
}
SCSS
$custom: #d7bf50;
$custom-light: #e6d286;
$custom-dark: #000000;
JSON
{
  "hex": "#d7bf50",
  "rgb": {
    "r": 215,
    "g": 191,
    "b": 80
  },
  "hsl": {
    "h": 49.333,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80418,
    "c": 0.13233,
    "h": 97.1
  },
  "luminance": 0.52288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7BF50

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

Preview Lab → · Contrast checker → · Palette generator →

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