#BFA62E#BFA62E

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

Color values

HEX#BFA62E
RGBrgb(191, 166, 46)
HSLhsl(50, 61%, 46%)
HSVhsv(50, 76%, 75%)
CMYKcmyk(0%, 13.1%, 75.9%, 25.1%)
CIE-LABlab(68.42, -3.41, 61.27)
CIE-LCHlch(68.42, 61.37, 93.19°)
OKLaboklab(72.67% -0.016 0.1343)
OKLCHoklch(72.67% 0.135 96.8)
XYZxyz(35.6171, 38.5480, 8.1487)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA62E #2E47BF
analogous
#BF5E2E #BFA62E #90BF2E
triadic
#BFA62E #2EBFA6 #A62EBF
tetradic
#BFA62E #2EBF5E #2E47BF #BF2E90
square
#BFA62E #2EBF5E #2E47BF #BF2E90
split-complementary
#BFA62E #2E90BF #5E2EBF
monochromatic
#5C5016 #8E7B22 #BFA62E #D6C054 #E2D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA62E#FFFFFF#000000##000000
##BFA62E1.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)
#B7A217
Deuteranopia (green-blind)
#BEAA36
Tritanopia (blue-blind)
#CE998F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa62e;
/* rgb */ color: rgb(191, 166, 46);
/* oklch */ color: oklch(72.7% 0.135 96.8);
Tailwind
colors: {
  custom: {
    50: '#d6c070',
    500: '#bfa62e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa62e;
$custom-light: #d6c070;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa62e",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 49.655,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72666,
    "c": 0.13524,
    "h": 96.8
  },
  "luminance": 0.38546
}

Semantic roles & 50–950 ramp

primary
#BFA62E
secondary
#7E8BCB
accent
#5FE444
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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