#BFA233#BFA233

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

Color values

HEX#BFA233
RGBrgb(191, 162, 51)
HSLhsl(48, 58%, 47%)
HSVhsv(48, 73%, 75%)
CMYKcmyk(0%, 15.2%, 73.3%, 25.1%)
CIE-LABlab(67.40, -1.06, 58.44)
CIE-LCHlch(67.40, 58.45, 91.04°)
OKLaboklab(71.86% -0.0088 0.1293)
OKLCHoklch(71.86% 0.13 93.9)
XYZxyz(35.0056, 37.1580, 8.4597)
Luminance0.3716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA233 #3350BF
analogous
#BF5C33 #BFA233 #96BF33
triadic
#BFA233 #33BFA2 #A233BF
tetradic
#BFA233 #33BF5C #3350BF #BF3396
square
#BFA233 #33BF5C #3350BF #BF3396
split-complementary
#BFA233 #3396BF #5C33BF
monochromatic
#5E5019 #8F7926 #BFA233 #D3BB5C #E0CF8C

Accessibility & contrast

On white

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

On black

8.43
#BFA233 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA233
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA233#FFFFFF#000000##000000
##BFA2331.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F21
Deuteranopia (green-blind)
#BBA839
Tritanopia (blue-blind)
#CE958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa233;
/* rgb */ color: rgb(191, 162, 51);
/* oklch */ color: oklch(71.9% 0.130 93.9);
Tailwind
colors: {
  custom: {
    50: '#d6bd72',
    500: '#bfa233',
    950: '#000000',
  },
}
SCSS
$custom: #bfa233;
$custom-light: #d6bd72;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa233",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 47.571,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71864,
    "c": 0.12955,
    "h": 93.9
  },
  "luminance": 0.37156
}

Semantic roles & 50–950 ramp

primary
#BFA233
secondary
#8392CB
accent
#67E147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA233

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

Preview Lab → · Contrast checker → · Palette generator →

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