#BFAF61#BFAF61

#BFAF61 is a light, moderate yellow. Relative luminance 0.426; OKLCH L 75.1% C 0.101 H 98.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#BFAF61
RGBrgb(191, 175, 97)
HSLhsl(50, 42%, 56%)
HSVhsv(50, 49%, 75%)
CMYKcmyk(0%, 8.4%, 49.2%, 25.1%)
CIE-LABlab(71.28, -4.76, 41.80)
CIE-LCHlch(71.28, 42.07, 96.49°)
OKLaboklab(75.08% -0.014 0.0998)
OKLCHoklch(75.08% 0.101 98)
XYZxyz(38.9747, 42.6008, 17.4767)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF61 #6171BF
analogous
#BF8061 #BFAF61 #A0BF61
triadic
#BFAF61 #61BFAF #AF61BF
tetradic
#BFAF61 #61BF80 #6171BF #BF61A0
square
#BFAF61 #61BF80 #6171BF #BF61A0
split-complementary
#BFAF61 #61A0BF #8061BF
monochromatic
#766A30 #A19141 #BFAF61 #D1C58D #E2DBB8

Accessibility & contrast

On white

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

On black

9.52
#BFAF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF61
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF61#FFFFFF#000000##000000
##BFAF611.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB5A
Deuteranopia (green-blind)
#C1B164
Tritanopia (blue-blind)
#CBA59D
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bfaf61;
/* rgb */ color: rgb(191, 175, 97);
/* oklch */ color: oklch(75.1% 0.101 98.0);
Tailwind
colors: {
  custom: {
    50: '#d4c68f',
    500: '#bfaf61',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf61;
$custom-light: #d4c68f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf61",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 97
  },
  "hsl": {
    "h": 49.787,
    "s": 42.342,
    "l": 56.471
  },
  "oklch": {
    "l": 0.75082,
    "c": 0.10074,
    "h": 98
  },
  "luminance": 0.42599
}

Semantic roles & 50–950 ramp

primary
#BFAF61
secondary
#ABB1D1
accent
#6BD256
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BFAF61

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

Preview Lab → · Contrast checker → · Palette generator →

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