#BFA42F#BFA42F

#BFA42F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.3% C 0.133 H 95.5°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BFA42F
RGBrgb(191, 164, 47)
HSLhsl(49, 61%, 47%)
HSVhsv(49, 75%, 75%)
CMYKcmyk(0%, 14.1%, 75.4%, 25.1%)
CIE-LABlab(67.90, -2.31, 60.42)
CIE-LCHlch(67.90, 60.47, 92.19°)
OKLaboklab(72.25% -0.0128 0.1327)
OKLCHoklch(72.25% 0.133 95.5)
XYZxyz(35.2763, 37.8345, 8.1335)
Luminance0.3783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA42F #2F4ABF
analogous
#BF5C2F #BFA42F #92BF2F
triadic
#BFA42F #2FBFA4 #A42FBF
tetradic
#BFA42F #2FBF5C #2F4ABF #BF2F92
square
#BFA42F #2FBF5C #2F4ABF #BF2F92
split-complementary
#BFA42F #2F92BF #5C2FBF
monochromatic
#5D5017 #8E7A23 #BFA42F #D5BD56 #E1D087

Accessibility & contrast

On white

2.45
#BFA42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BFA42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA42F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA42F#FFFFFF#000000##000000
##BFA42F1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A119
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#CE978D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa42f;
/* rgb */ color: rgb(191, 164, 47);
/* oklch */ color: oklch(72.3% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#d6be70',
    500: '#bfa42f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa42f;
$custom-light: #d6be70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa42f",
  "rgb": {
    "r": 191,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 48.75,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72253,
    "c": 0.13328,
    "h": 95.5
  },
  "luminance": 0.37833
}

Semantic roles & 50–950 ramp

primary
#BFA42F
secondary
#7F8DCB
accent
#62E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA42F

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

Preview Lab → · Contrast checker → · Palette generator →

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