#BFA62C#BFA62C

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

Color values

HEX#BFA62C
RGBrgb(191, 166, 44)
HSLhsl(50, 63%, 46%)
HSVhsv(50, 77%, 75%)
CMYKcmyk(0%, 13.1%, 77%, 25.1%)
CIE-LABlab(68.41, -3.50, 61.96)
CIE-LCHlch(68.41, 62.06, 93.23°)
OKLaboklab(72.65% -0.0164 0.1354)
OKLCHoklch(72.65% 0.136 96.9)
XYZxyz(35.5786, 38.5326, 7.9459)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA62C #2C45BF
analogous
#BF5C2C #BFA62C #8EBF2C
triadic
#BFA62C #2CBFA6 #A62CBF
tetradic
#BFA62C #2CBF5C #2C45BF #BF2C8E
square
#BFA62C #2CBF5C #2C45BF #BF2C8E
split-complementary
#BFA62C #2C8EBF #5C2CBF
monochromatic
#5C5015 #8D7B21 #BFA62C #D7C051 #E2D283

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA62C#FFFFFF#000000##000000
##BFA62C1.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)
#B7A212
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#CE998F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa62c;
/* rgb */ color: rgb(191, 166, 44);
/* oklch */ color: oklch(72.7% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#d6c06f',
    500: '#bfa62c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa62c;
$custom-light: #d6c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa62c",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 44
  },
  "hsl": {
    "h": 49.796,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72654,
    "c": 0.13634,
    "h": 96.9
  },
  "luminance": 0.38531
}

Semantic roles & 50–950 ramp

primary
#BFA62C
secondary
#7B89CC
accent
#5EE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA62C

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

Preview Lab → · Contrast checker → · Palette generator →

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