#BFA02F#BFA02F

#BFA02F is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.131 H 92.9°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BFA02F
RGBrgb(191, 160, 47)
HSLhsl(47, 61%, 47%)
HSVhsv(47, 75%, 75%)
CMYKcmyk(0%, 16.2%, 75.4%, 25.1%)
CIE-LABlab(66.84, -0.17, 59.42)
CIE-LCHlch(66.84, 59.42, 90.16°)
OKLaboklab(71.42% -0.0067 0.1306)
OKLCHoklch(71.42% 0.131 92.9)
XYZxyz(34.5717, 36.4253, 7.8986)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA02F #2F4EBF
analogous
#BF582F #BFA02F #96BF2F
triadic
#BFA02F #2FBFA0 #A02FBF
tetradic
#BFA02F #2FBF58 #2F4EBF #BF2F96
square
#BFA02F #2FBF58 #2F4EBF #BF2F96
split-complementary
#BFA02F #2F96BF #582FBF
monochromatic
#5D4E17 #8E7723 #BFA02F #D5BA56 #E1CE87

Accessibility & contrast

On white

2.53
#BFA02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BFA02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA02F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA02F#FFFFFF#000000##000000
##BFA02F1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D1B
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#CF938A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa02f;
/* rgb */ color: rgb(191, 160, 47);
/* oklch */ color: oklch(71.4% 0.131 92.9);
Tailwind
colors: {
  custom: {
    50: '#d6bb70',
    500: '#bfa02f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa02f;
$custom-light: #d6bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa02f",
  "rgb": {
    "r": 191,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 47.083,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7142,
    "c": 0.13072,
    "h": 92.9
  },
  "luminance": 0.36423
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BFA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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