#BF9F2F#BF9F2F

#BF9F2F is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.130 H 92.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BF9F2F
RGBrgb(191, 159, 47)
HSLhsl(47, 61%, 47%)
HSVhsv(47, 75%, 75%)
CMYKcmyk(0%, 16.8%, 75.4%, 25.1%)
CIE-LABlab(66.58, 0.37, 59.17)
CIE-LCHlch(66.58, 59.17, 89.64°)
OKLaboklab(71.21% -0.0051 0.13)
OKLCHoklch(71.21% 0.13 92.3)
XYZxyz(34.3990, 36.0799, 7.8411)
Luminance0.3608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9F2F #2F4FBF
analogous
#BF572F #BF9F2F #97BF2F
triadic
#BF9F2F #2FBF9F #9F2FBF
tetradic
#BF9F2F #2FBF57 #2F4FBF #BF2F97
square
#BF9F2F #2FBF57 #2F4FBF #BF2F97
split-complementary
#BF9F2F #2F97BF #572FBF
monochromatic
#5D4D17 #8E7623 #BF9F2F #D5B956 #E1CD87

Accessibility & contrast

On white

2.56
#BF9F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BF9F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9F2F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9F2F#FFFFFF#000000##000000
##BF9F2F1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1B
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#CF9289
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bf9f2f;
/* rgb */ color: rgb(191, 159, 47);
/* oklch */ color: oklch(71.2% 0.130 92.3);
Tailwind
colors: {
  custom: {
    50: '#d6bb70',
    500: '#bf9f2f',
    950: '#000000',
  },
}
SCSS
$custom: #bf9f2f;
$custom-light: #d6bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9f2f",
  "rgb": {
    "r": 191,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 46.667,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71212,
    "c": 0.13011,
    "h": 92.3
  },
  "luminance": 0.36078
}

Semantic roles & 50–950 ramp

primary
#BF9F2F
secondary
#7F90CB
accent
#68E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BF9F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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