#BFA23A#BFA23A

#BFA23A is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.125 H 93.2°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#BFA23A
RGBrgb(191, 162, 58)
HSLhsl(47, 53%, 49%)
HSVhsv(47, 70%, 75%)
CMYKcmyk(0%, 15.2%, 69.6%, 25.1%)
CIE-LABlab(67.45, -0.71, 55.68)
CIE-LCHlch(67.45, 55.69, 90.73°)
OKLaboklab(71.92% -0.007 0.1247)
OKLCHoklch(71.92% 0.125 93.2)
XYZxyz(35.1717, 37.2245, 9.3346)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA23A #3A57BF
analogous
#BF603A #BFA23A #9ABF3A
triadic
#BFA23A #3ABFA2 #A23ABF
tetradic
#BFA23A #3ABF60 #3A57BF #BF3A9A
square
#BFA23A #3ABF60 #3A57BF #BF3A9A
split-complementary
#BFA23A #3A9ABF #603ABF
monochromatic
#61521D #907A2C #BFA23A #D0B966 #DFCF95

Accessibility & contrast

On white

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

On black

8.44
#BFA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA23A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA23A#FFFFFF#000000##000000
##BFA23A1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2C
Deuteranopia (green-blind)
#BAA83F
Tritanopia (blue-blind)
#CE958D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa23a;
/* rgb */ color: rgb(191, 162, 58);
/* oklch */ color: oklch(71.9% 0.125 93.2);
Tailwind
colors: {
  custom: {
    50: '#d6bd76',
    500: '#bfa23a',
    950: '#000000',
  },
}
SCSS
$custom: #bfa23a;
$custom-light: #d6bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa23a",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 46.917,
    "s": 53.414,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71919,
    "c": 0.12491,
    "h": 93.2
  },
  "luminance": 0.37223
}

Semantic roles & 50–950 ramp

primary
#BFA23A
secondary
#8B99CA
accent
#6BDD4B
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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