#BFA85B#BFA85B

#BFA85B is a light, moderate yellow. Relative luminance 0.398; OKLCH L 73.5% C 0.101 H 93.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BFA85B
RGBrgb(191, 168, 91)
HSLhsl(46, 44%, 55%)
HSVhsv(46, 52%, 75%)
CMYKcmyk(0%, 12%, 52.4%, 25.1%)
CIE-LABlab(69.35, -1.58, 42.47)
CIE-LCHlch(69.35, 42.50, 92.14°)
OKLaboklab(73.53% -0.0055 0.1008)
OKLCHoklch(73.53% 0.101 93.1)
XYZxyz(37.3782, 39.8386, 15.6163)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA85B #5B72BF
analogous
#BF765B #BFA85B #A4BF5B
triadic
#BFA85B #5BBFA8 #A85BBF
tetradic
#BFA85B #5BBF76 #5B72BF #BF5BA4
square
#BFA85B #5BBF76 #5B72BF #BF5BA4
split-complementary
#BFA85B #5BA4BF #765BBF
monochromatic
#73632D #9F893E #BFA85B #D0BF87 #E1D7B3

Accessibility & contrast

On white

2.34
#BFA85B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BFA85B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA85B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA85B#FFFFFF#000000##000000
##BFA85B1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A554
Deuteranopia (green-blind)
#BCAC5E
Tritanopia (blue-blind)
#CC9D96
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bfa85b;
/* rgb */ color: rgb(191, 168, 91);
/* oklch */ color: oklch(73.5% 0.101 93.1);
Tailwind
colors: {
  custom: {
    50: '#d4c18b',
    500: '#bfa85b',
    950: '#000000',
  },
}
SCSS
$custom: #bfa85b;
$custom-light: #d4c18b;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa85b",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 91
  },
  "hsl": {
    "h": 46.2,
    "s": 43.86,
    "l": 55.294
  },
  "oklch": {
    "l": 0.73533,
    "c": 0.1009,
    "h": 93.1
  },
  "luminance": 0.39837
}

Semantic roles & 50–950 ramp

primary
#BFA85B
secondary
#A6B0D0
accent
#72D454
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #BFA85B

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

Preview Lab → · Contrast checker → · Palette generator →

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