#BFA837#BFA837

#BFA837 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 73.2% C 0.131 H 97.4°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#BFA837
RGBrgb(191, 168, 55)
HSLhsl(50, 55%, 48%)
HSVhsv(50, 71%, 75%)
CMYKcmyk(0%, 12%, 71.2%, 25.1%)
CIE-LABlab(69.01, -4.06, 58.48)
CIE-LCHlch(69.01, 58.62, 93.97°)
OKLaboklab(73.15% -0.0169 0.1301)
OKLCHoklch(73.15% 0.131 97.4)
XYZxyz(36.1798, 39.3593, 9.3051)
Luminance0.3936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA837 #374EBF
analogous
#BF6437 #BFA837 #92BF37
triadic
#BFA837 #37BFA8 #A837BF
tetradic
#BFA837 #37BF64 #374EBF #BF3792
square
#BFA837 #37BF64 #374EBF #BF3792
split-complementary
#BFA837 #3792BF #6437BF
monochromatic
#60541C #8F7E29 #BFA837 #D2BF62 #DFD291

Accessibility & contrast

On white

2.37
#BFA837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#BFA837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA837
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA837#FFFFFF#000000##000000
##BFA8371.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa837;
/* rgb */ color: rgb(191, 168, 55);
/* oklch */ color: oklch(73.2% 0.131 97.4);
Tailwind
colors: {
  custom: {
    50: '#d6c175',
    500: '#bfa837',
    950: '#000000',
  },
}
SCSS
$custom: #bfa837;
$custom-light: #d6c175;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa837",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 55
  },
  "hsl": {
    "h": 49.853,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.7315,
    "c": 0.13116,
    "h": 97.4
  },
  "luminance": 0.39357
}

Semantic roles & 50–950 ramp

primary
#BFA837
secondary
#8893CA
accent
#62DF49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA837

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

Preview Lab → · Contrast checker → · Palette generator →

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