#BFAF5E#BFAF5E

#BFAF5E is a light, moderate yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.104 H 98.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#BFAF5E
RGBrgb(191, 175, 94)
HSLhsl(50, 43%, 56%)
HSVhsv(50, 51%, 75%)
CMYKcmyk(0%, 8.4%, 50.8%, 25.1%)
CIE-LABlab(71.25, -5.03, 43.25)
CIE-LCHlch(71.25, 43.54, 96.63°)
OKLaboklab(75.04% -0.0152 0.1027)
OKLCHoklch(75.04% 0.104 98.4)
XYZxyz(38.8374, 42.5459, 16.7539)
Luminance0.4254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF5E #5E6EBF
analogous
#BF7E5E #BFAF5E #9EBF5E
triadic
#BFAF5E #5EBFAF #AF5EBF
tetradic
#BFAF5E #5EBF7E #5E6EBF #BF5E9E
square
#BFAF5E #5EBF7E #5E6EBF #BF5E9E
split-complementary
#BFAF5E #5E9EBF #7E5EBF
monochromatic
#74692E #A09040 #BFAF5E #D0C58A #E2DBB6

Accessibility & contrast

On white

2.21
#BFAF5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#BFAF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF5E
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF5E#FFFFFF#000000##000000
##BFAF5E1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB57
Deuteranopia (green-blind)
#C1B161
Tritanopia (blue-blind)
#CCA59C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf5e;
/* rgb */ color: rgb(191, 175, 94);
/* oklch */ color: oklch(75.0% 0.104 98.4);
Tailwind
colors: {
  custom: {
    50: '#d4c68d',
    500: '#bfaf5e',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf5e;
$custom-light: #d4c68d;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf5e",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 94
  },
  "hsl": {
    "h": 50.103,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7504,
    "c": 0.10383,
    "h": 98.4
  },
  "luminance": 0.42544
}

Semantic roles & 50–950 ramp

primary
#BFAF5E
secondary
#A8AFD0
accent
#6AD355
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFAF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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