#BFA22F#BFA22F

#BFA22F is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.8% C 0.132 H 94.2°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#BFA22F
RGBrgb(191, 162, 47)
HSLhsl(48, 61%, 47%)
HSVhsv(48, 75%, 75%)
CMYKcmyk(0%, 15.2%, 75.4%, 25.1%)
CIE-LABlab(67.37, -1.24, 59.92)
CIE-LCHlch(67.37, 59.93, 91.19°)
OKLaboklab(71.84% -0.0097 0.1316)
OKLCHoklch(71.84% 0.132 94.2)
XYZxyz(34.9212, 37.1243, 8.0151)
Luminance0.3712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA22F #2F4CBF
analogous
#BF5A2F #BFA22F #94BF2F
triadic
#BFA22F #2FBFA2 #A22FBF
tetradic
#BFA22F #2FBF5A #2F4CBF #BF2F94
square
#BFA22F #2FBF5A #2F4CBF #BF2F94
split-complementary
#BFA22F #2F94BF #5A2FBF
monochromatic
#5D4F17 #8E7823 #BFA22F #D5BC56 #E1CF87

Accessibility & contrast

On white

2.49
#BFA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#BFA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA22F
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA22F#FFFFFF#000000##000000
##BFA22F1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1A
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#CF958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa22f;
/* rgb */ color: rgb(191, 162, 47);
/* oklch */ color: oklch(71.8% 0.132 94.2);
Tailwind
colors: {
  custom: {
    50: '#d6bd70',
    500: '#bfa22f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa22f;
$custom-light: #d6bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa22f",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 47.917,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71836,
    "c": 0.13197,
    "h": 94.2
  },
  "luminance": 0.37122
}

Semantic roles & 50–950 ramp

primary
#BFA22F
secondary
#7F8ECB
accent
#64E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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