#BFA72E#BFA72E

#BFA72E is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.9% C 0.136 H 97.4°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BFA72E
RGBrgb(191, 167, 46)
HSLhsl(50, 61%, 46%)
HSVhsv(50, 76%, 75%)
CMYKcmyk(0%, 12.6%, 75.9%, 25.1%)
CIE-LABlab(68.69, -3.94, 61.52)
CIE-LCHlch(68.69, 61.65, 93.67°)
OKLaboklab(72.88% -0.0175 0.1348)
OKLCHoklch(72.88% 0.136 97.4)
XYZxyz(35.7996, 38.9129, 8.2095)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA72E #2E46BF
analogous
#BF5F2E #BFA72E #8FBF2E
triadic
#BFA72E #2EBFA7 #A72EBF
tetradic
#BFA72E #2EBF5F #2E46BF #BF2E8F
square
#BFA72E #2EBF5F #2E46BF #BF2E8F
split-complementary
#BFA72E #2E8FBF #5F2EBF
monochromatic
#5C5116 #8E7C22 #BFA72E #D6C054 #E2D386

Accessibility & contrast

On white

2.39
#BFA72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#BFA72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA72E
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA72E#FFFFFF#000000##000000
##BFA72E1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A316
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#CE9A90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bfa72e;
/* rgb */ color: rgb(191, 167, 46);
/* oklch */ color: oklch(72.9% 0.136 97.4);
Tailwind
colors: {
  custom: {
    50: '#d6c070',
    500: '#bfa72e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa72e;
$custom-light: #d6c070;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa72e",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 46
  },
  "hsl": {
    "h": 50.069,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72877,
    "c": 0.13595,
    "h": 97.4
  },
  "luminance": 0.38911
}

Semantic roles & 50–950 ramp

primary
#BFA72E
secondary
#7E8ACB
accent
#5EE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA72E

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

Preview Lab → · Contrast checker → · Palette generator →

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