#BFA12F#BFA12F

#BFA12F is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.131 H 93.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BFA12F
RGBrgb(191, 161, 47)
HSLhsl(48, 61%, 47%)
HSVhsv(48, 75%, 75%)
CMYKcmyk(0%, 15.7%, 75.4%, 25.1%)
CIE-LABlab(67.11, -0.71, 59.67)
CIE-LCHlch(67.11, 59.68, 90.68°)
OKLaboklab(71.63% -0.0082 0.1311)
OKLCHoklch(71.63% 0.131 93.6)
XYZxyz(34.7457, 36.7734, 7.9566)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA12F #2F4DBF
analogous
#BF592F #BFA12F #95BF2F
triadic
#BFA12F #2FBFA1 #A12FBF
tetradic
#BFA12F #2FBF59 #2F4DBF #BF2F95
square
#BFA12F #2FBF59 #2F4DBF #BF2F95
split-complementary
#BFA12F #2F95BF #592FBF
monochromatic
#5D4E17 #8E7823 #BFA12F #D5BB56 #E1CF87

Accessibility & contrast

On white

2.51
#BFA12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BFA12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA12F
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA12F#FFFFFF#000000##000000
##BFA12F1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E1B
Deuteranopia (green-blind)
#BAA736
Tritanopia (blue-blind)
#CF948B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa12f;
/* rgb */ color: rgb(191, 161, 47);
/* oklch */ color: oklch(71.6% 0.131 93.6);
Tailwind
colors: {
  custom: {
    50: '#d6bc70',
    500: '#bfa12f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa12f;
$custom-light: #d6bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa12f",
  "rgb": {
    "r": 191,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 47.5,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.71627,
    "c": 0.13134,
    "h": 93.6
  },
  "luminance": 0.36771
}

Semantic roles & 50–950 ramp

primary
#BFA12F
secondary
#7F8FCB
accent
#65E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BFA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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