#BFAF64#BFAF64

#BFAF64 is a light, moderate yellow. Relative luminance 0.427; OKLCH L 75.1% C 0.098 H 97.6°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#BFAF64
RGBrgb(191, 175, 100)
HSLhsl(49, 42%, 57%)
HSVhsv(49, 48%, 75%)
CMYKcmyk(0%, 8.4%, 47.6%, 25.1%)
CIE-LABlab(71.32, -4.47, 40.33)
CIE-LCHlch(71.32, 40.58, 96.33°)
OKLaboklab(75.13% -0.0129 0.0967)
OKLCHoklch(75.13% 0.098 97.6)
XYZxyz(39.1172, 42.6578, 18.2274)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF64 #6474BF
analogous
#BF8264 #BFAF64 #A1BF64
triadic
#BFAF64 #64BFAF #AF64BF
tetradic
#BFAF64 #64BF82 #6474BF #BF64A1
square
#BFAF64 #64BF82 #6474BF #BF64A1
split-complementary
#BFAF64 #64A1BF #8264BF
monochromatic
#776B31 #A39243 #BFAF64 #D1C58F #E3DCBB

Accessibility & contrast

On white

2.20
#BFAF64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#BFAF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF64
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF64#FFFFFF#000000##000000
##BFAF641.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfaf64;
/* rgb */ color: rgb(191, 175, 100);
/* oklch */ color: oklch(75.1% 0.098 97.6);
Tailwind
colors: {
  custom: {
    50: '#d4c691',
    500: '#bfaf64',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf64;
$custom-light: #d4c691;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf64",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 100
  },
  "hsl": {
    "h": 49.451,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.75125,
    "c": 0.09759,
    "h": 97.6
  },
  "luminance": 0.42656
}

Semantic roles & 50–950 ramp

primary
#BFAF64
secondary
#ADB3D2
accent
#6CD156
background
#FDFCF9
surface
#FAF8F1
border
#D3D1CB
text
#14130D
muted
#83827E

Preview Lab

Preview with #BFAF64

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

Preview Lab → · Contrast checker → · Palette generator →

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