#BFA838#BFA838

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

Color values

HEX#BFA838
RGBrgb(191, 168, 56)
HSLhsl(50, 55%, 48%)
HSVhsv(50, 71%, 75%)
CMYKcmyk(0%, 12%, 70.7%, 25.1%)
CIE-LABlab(69.02, -4.01, 58.09)
CIE-LCHlch(69.02, 58.23, 93.95°)
OKLaboklab(73.16% -0.0166 0.1294)
OKLCHoklch(73.16% 0.131 97.3)
XYZxyz(36.2041, 39.3690, 9.4326)
Luminance0.3937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA838 #384FBF
analogous
#BF6438 #BFA838 #92BF38
triadic
#BFA838 #38BFA8 #A838BF
tetradic
#BFA838 #38BF64 #384FBF #BF3892
square
#BFA838 #38BF64 #384FBF #BF3892
split-complementary
#BFA838 #3892BF #6438BF
monochromatic
#60551C #907E2A #BFA838 #D1BE63 #DFD292

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA838#FFFFFF#000000##000000
##BFA8381.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)
#B9A427
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa838;
/* rgb */ color: rgb(191, 168, 56);
/* oklch */ color: oklch(73.2% 0.131 97.3);
Tailwind
colors: {
  custom: {
    50: '#d6c175',
    500: '#bfa838',
    950: '#000000',
  },
}
SCSS
$custom: #bfa838;
$custom-light: #d6c175;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa838",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 49.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73158,
    "c": 0.1305,
    "h": 97.3
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#BFA838
secondary
#8994CA
accent
#63DE4A
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA838

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

Preview Lab → · Contrast checker → · Palette generator →

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