#BFAB4F#BFAB4F

#BFAB4F is a light, moderate yellow. Relative luminance 0.408; OKLCH L 74.0% C 0.115 H 97.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#BFAB4F
RGBrgb(191, 171, 79)
HSLhsl(49, 47%, 53%)
HSVhsv(49, 59%, 75%)
CMYKcmyk(0%, 10.5%, 58.6%, 25.1%)
CIE-LABlab(70.01, -4.15, 49.09)
CIE-LCHlch(70.01, 49.26, 94.84°)
OKLaboklab(74.01% -0.0143 0.1138)
OKLCHoklch(74.01% 0.115 97.2)
XYZxyz(37.4615, 40.7684, 13.2914)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAB4F #4F63BF
analogous
#BF734F #BFAB4F #9BBF4F
triadic
#BFAB4F #4FBFAB #AB4FBF
tetradic
#BFAB4F #4FBF73 #4F63BF #BF4F9B
square
#BFAB4F #4FBF73 #4F63BF #BF4F9B
split-complementary
#BFAB4F #4F9BBF #734FBF
monochromatic
#6C6027 #998838 #BFAB4F #CFC07C #E0D6A9

Accessibility & contrast

On white

2.29
#BFAB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#BFAB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAB4F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAB4F#FFFFFF#000000##000000
##BFAB4F1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#BFAE53
Tritanopia (blue-blind)
#CDA097
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bfab4f;
/* rgb */ color: rgb(191, 171, 79);
/* oklch */ color: oklch(74.0% 0.115 97.2);
Tailwind
colors: {
  custom: {
    50: '#d5c383',
    500: '#bfab4f',
    950: '#000000',
  },
}
SCSS
$custom: #bfab4f;
$custom-light: #d5c383;
$custom-dark: #000000;
JSON
{
  "hex": "#bfab4f",
  "rgb": {
    "r": 191,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 49.286,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7401,
    "c": 0.11472,
    "h": 97.2
  },
  "luminance": 0.40767
}

Semantic roles & 50–950 ramp

primary
#BFAB4F
secondary
#9DA5CD
accent
#69D651
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#15120B
muted
#83817C

Preview Lab

Preview with #BFAB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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