#BF9D2E#BF9D2E

#BF9D2E is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.8% C 0.130 H 91.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#BF9D2E
RGBrgb(191, 157, 46)
HSLhsl(46, 61%, 46%)
HSVhsv(46, 76%, 75%)
CMYKcmyk(0%, 17.8%, 75.9%, 25.1%)
CIE-LABlab(66.05, 1.40, 59.04)
CIE-LCHlch(66.05, 59.06, 88.64°)
OKLaboklab(70.79% -0.0023 0.1295)
OKLCHoklch(70.79% 0.13 91)
XYZxyz(34.0379, 35.3897, 7.6223)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF9D2E #2E50BF
analogous
#BF552E #BF9D2E #99BF2E
triadic
#BF9D2E #2EBF9D #9D2EBF
tetradic
#BF9D2E #2EBF55 #2E50BF #BF2E99
square
#BF9D2E #2EBF55 #2E50BF #BF2E99
split-complementary
#BF9D2E #2E99BF #552EBF
monochromatic
#5C4C16 #8E7422 #BF9D2E #D6B854 #E2CC86

Accessibility & contrast

On white

2.60
#BF9D2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#BF9D2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF9D2E
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF9D2E#FFFFFF#000000##000000
##BF9D2E1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B7A534
Tritanopia (blue-blind)
#CF9087
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bf9d2e;
/* rgb */ color: rgb(191, 157, 46);
/* oklch */ color: oklch(70.8% 0.130 91.0);
Tailwind
colors: {
  custom: {
    50: '#d7b96f',
    500: '#bf9d2e',
    950: '#000000',
  },
}
SCSS
$custom: #bf9d2e;
$custom-light: #d7b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#bf9d2e",
  "rgb": {
    "r": 191,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 45.931,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.12955,
    "h": 91
  },
  "luminance": 0.35388
}

Semantic roles & 50–950 ramp

primary
#BF9D2E
secondary
#7E90CB
accent
#69E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BF9D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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