#BFA22E#BFA22E

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

Color values

HEX#BFA22E
RGBrgb(191, 162, 46)
HSLhsl(48, 61%, 46%)
HSVhsv(48, 76%, 75%)
CMYKcmyk(0%, 15.2%, 75.9%, 25.1%)
CIE-LABlab(67.36, -1.28, 60.28)
CIE-LCHlch(67.36, 60.29, 91.22°)
OKLaboklab(71.83% -0.01 0.1322)
OKLCHoklch(71.83% 0.133 94.3)
XYZxyz(34.9012, 37.1163, 7.9101)
Luminance0.3711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA22E #2E4BBF
analogous
#BF5A2E #BFA22E #94BF2E
triadic
#BFA22E #2EBFA2 #A22EBF
tetradic
#BFA22E #2EBF5A #2E4BBF #BF2E94
square
#BFA22E #2EBF5A #2E4BBF #BF2E94
split-complementary
#BFA22E #2E94BF #5A2EBF
monochromatic
#5C4E16 #8E7822 #BFA22E #D6BC54 #E2CF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA22E#FFFFFF#000000##000000
##BFA22E1.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)
#B49F18
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#CF958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa22e;
/* rgb */ color: rgb(191, 162, 46);
/* oklch */ color: oklch(71.8% 0.133 94.3);
Tailwind
colors: {
  custom: {
    50: '#d6bd6f',
    500: '#bfa22e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa22e;
$custom-light: #d6bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa22e",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71829,
    "c": 0.13254,
    "h": 94.3
  },
  "luminance": 0.37114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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