#BFA82E#BFA82E

#BFA82E is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.1% C 0.137 H 98.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#BFA82E
RGBrgb(191, 168, 46)
HSLhsl(50, 61%, 46%)
HSVhsv(50, 76%, 75%)
CMYKcmyk(0%, 12%, 75.9%, 25.1%)
CIE-LABlab(68.95, -4.47, 61.77)
CIE-LCHlch(68.95, 61.93, 94.14°)
OKLaboklab(73.09% -0.019 0.1354)
OKLCHoklch(73.09% 0.137 98)
XYZxyz(35.9835, 39.2807, 8.2708)
Luminance0.3928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA82E #2E45BF
analogous
#BF602E #BFA82E #8EBF2E
triadic
#BFA82E #2EBFA8 #A82EBF
tetradic
#BFA82E #2EBF60 #2E45BF #BF2E8E
square
#BFA82E #2EBF60 #2E45BF #BF2E8E
split-complementary
#BFA82E #2E8EBF #602EBF
monochromatic
#5C5116 #8E7D22 #BFA82E #D6C154 #E2D386

Accessibility & contrast

On white

2.37
#BFA82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#BFA82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA82E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA82E#FFFFFF#000000##000000
##BFA82E1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A416
Deuteranopia (green-blind)
#BFAC36
Tritanopia (blue-blind)
#CE9B91
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa82e;
/* rgb */ color: rgb(191, 168, 46);
/* oklch */ color: oklch(73.1% 0.137 98.0);
Tailwind
colors: {
  custom: {
    50: '#d6c170',
    500: '#bfa82e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa82e;
$custom-light: #d6c170;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa82e",
  "rgb": {
    "r": 191,
    "g": 168,
    "b": 46
  },
  "hsl": {
    "h": 50.483,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73087,
    "c": 0.13668,
    "h": 98
  },
  "luminance": 0.39279
}

Semantic roles & 50–950 ramp

primary
#BFA82E
secondary
#7E8ACB
accent
#5DE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA82E

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

Preview Lab → · Contrast checker → · Palette generator →

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