#BFA62D#BFA62D

#BFA62D 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#BFA62D
RGBrgb(191, 166, 45)
HSLhsl(50, 62%, 46%)
HSVhsv(50, 76%, 75%)
CMYKcmyk(0%, 13.1%, 76.4%, 25.1%)
CIE-LABlab(68.42, -3.46, 61.62)
CIE-LCHlch(68.42, 61.72, 93.21°)
OKLaboklab(72.66% -0.0162 0.1348)
OKLCHoklch(72.66% 0.136 96.9)
XYZxyz(35.5976, 38.5402, 8.0461)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA62D #2D46BF
analogous
#BF5D2D #BFA62D #8FBF2D
triadic
#BFA62D #2DBFA6 #A62DBF
tetradic
#BFA62D #2DBF5D #2D46BF #BF2D8F
square
#BFA62D #2DBF5D #2D46BF #BF2D8F
split-complementary
#BFA62D #2D8FBF #5D2DBF
monochromatic
#5C5016 #8D7B21 #BFA62D #D6C053 #E2D284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA62D#FFFFFF#000000##000000
##BFA62D1.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)
#B7A214
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#CE998F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bfa62d;
/* rgb */ color: rgb(191, 166, 45);
/* oklch */ color: oklch(72.7% 0.136 96.9);
Tailwind
colors: {
  custom: {
    50: '#d6c06f',
    500: '#bfa62d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa62d;
$custom-light: #d6c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa62d",
  "rgb": {
    "r": 191,
    "g": 166,
    "b": 45
  },
  "hsl": {
    "h": 49.726,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7266,
    "c": 0.1358,
    "h": 96.9
  },
  "luminance": 0.38538
}

Semantic roles & 50–950 ramp

primary
#BFA62D
secondary
#7C8ACB
accent
#5FE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA62D

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

Preview Lab → · Contrast checker → · Palette generator →

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