#BFA62F#BFA62F

#BFA62F is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.135 H 96.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#BFA62F
RGBrgb(191, 166, 47)
HSLhsl(50, 61%, 47%)
HSVhsv(50, 75%, 75%)
CMYKcmyk(0%, 13.1%, 75.4%, 25.1%)
CIE-LABlab(68.43, -3.37, 60.92)
CIE-LCHlch(68.43, 61.02, 93.17°)
OKLaboklab(72.67% -0.0158 0.1337)
OKLCHoklch(72.67% 0.135 96.7)
XYZxyz(35.6370, 38.5559, 8.2537)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA62F #2F48BF
analogous
#BF5E2F #BFA62F #90BF2F
triadic
#BFA62F #2FBFA6 #A62FBF
tetradic
#BFA62F #2FBF5E #2F48BF #BF2F90
square
#BFA62F #2FBF5E #2F48BF #BF2F90
split-complementary
#BFA62F #2F90BF #5E2FBF
monochromatic
#5D5117 #8E7B23 #BFA62F #D5BF56 #E1D287

Accessibility & contrast

On white

2.41
#BFA62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#BFA62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA62F
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA62F#FFFFFF#000000##000000
##BFA62F1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A219
Deuteranopia (green-blind)
#BEAA37
Tritanopia (blue-blind)
#CE998F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa62f;
/* rgb */ color: rgb(191, 166, 47);
/* oklch */ color: oklch(72.7% 0.135 96.7);
Tailwind
colors: {
  custom: {
    50: '#d6c070',
    500: '#bfa62f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa62f;
$custom-light: #d6c070;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa62f",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 49.583,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72673,
    "c": 0.13467,
    "h": 96.7
  },
  "luminance": 0.38554
}

Semantic roles & 50–950 ramp

primary
#BFA62F
secondary
#7F8CCB
accent
#60E444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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