#BFA22C#BFA22C

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

Color values

HEX#BFA22C
RGBrgb(191, 162, 44)
HSLhsl(48, 63%, 46%)
HSVhsv(48, 77%, 75%)
CMYKcmyk(0%, 15.2%, 77%, 25.1%)
CIE-LABlab(67.35, -1.37, 60.98)
CIE-LCHlch(67.35, 60.99, 91.28°)
OKLaboklab(71.82% -0.0104 0.1333)
OKLCHoklch(71.82% 0.134 94.5)
XYZxyz(34.8627, 37.1009, 7.7073)
Luminance0.3710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA22C #2C49BF
analogous
#BF582C #BFA22C #92BF2C
triadic
#BFA22C #2CBFA2 #A22CBF
tetradic
#BFA22C #2CBF58 #2C49BF #BF2C92
square
#BFA22C #2CBF58 #2C49BF #BF2C92
split-complementary
#BFA22C #2C92BF #582CBF
monochromatic
#5C4E15 #8D7821 #BFA22C #D7BD51 #E2D083

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA22C#FFFFFF#000000##000000
##BFA22C1.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)
#B49F14
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#CF958B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa22c;
/* rgb */ color: rgb(191, 162, 44);
/* oklch */ color: oklch(71.8% 0.134 94.5);
Tailwind
colors: {
  custom: {
    50: '#d7bd6f',
    500: '#bfa22c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa22c;
$custom-light: #d7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa22c",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 48.163,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.71816,
    "c": 0.13366,
    "h": 94.5
  },
  "luminance": 0.37099
}

Semantic roles & 50–950 ramp

primary
#BFA22C
secondary
#7B8BCC
accent
#62E642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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