#BF9B2F#BF9B2F

#BF9B2F is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.4% C 0.128 H 89.5°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#BF9B2F
RGBrgb(191, 155, 47)
HSLhsl(45, 61%, 47%)
HSVhsv(45, 75%, 75%)
CMYKcmyk(0%, 18.8%, 75.4%, 25.1%)
CIE-LABlab(65.54, 2.52, 58.17)
CIE-LCHlch(65.54, 58.23, 87.52°)
OKLaboklab(70.39% 0.001 0.1279)
OKLCHoklch(70.39% 0.128 89.5)
XYZxyz(33.7223, 34.7265, 7.6155)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9B2F #2F53BF
analogous
#BF532F #BF9B2F #9BBF2F
triadic
#BF9B2F #2FBF9B #9B2FBF
tetradic
#BF9B2F #2FBF53 #2F53BF #BF2F9B
square
#BF9B2F #2FBF53 #2F53BF #BF2F9B
split-complementary
#BF9B2F #2F9BBF #532FBF
monochromatic
#5D4B17 #8E7323 #BF9B2F #D5B556 #E1CB87

Accessibility & contrast

On white

2.64
#BF9B2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#BF9B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9B2F
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9B2F#FFFFFF#000000##000000
##BF9B2F1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991D
Deuteranopia (green-blind)
#B6A335
Tritanopia (blue-blind)
#CF8E86
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bf9b2f;
/* rgb */ color: rgb(191, 155, 47);
/* oklch */ color: oklch(70.4% 0.128 89.5);
Tailwind
colors: {
  custom: {
    50: '#d7b86f',
    500: '#bf9b2f',
    950: '#000000',
  },
}
SCSS
$custom: #bf9b2f;
$custom-light: #d7b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9b2f",
  "rgb": {
    "r": 191,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 45,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.70387,
    "c": 0.12789,
    "h": 89.5
  },
  "luminance": 0.34724
}

Semantic roles & 50–950 ramp

primary
#BF9B2F
secondary
#7F92CB
accent
#6CE444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BF9B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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