#BFA02C#BFA02C

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

Color values

HEX#BFA02C
RGBrgb(191, 160, 44)
HSLhsl(47, 63%, 46%)
HSVhsv(47, 77%, 75%)
CMYKcmyk(0%, 16.2%, 77%, 25.1%)
CIE-LABlab(66.83, -0.30, 60.49)
CIE-LCHlch(66.83, 60.49, 90.28°)
OKLaboklab(71.4% -0.0073 0.1322)
OKLCHoklch(71.4% 0.132 93.2)
XYZxyz(34.5132, 36.4019, 7.5908)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA02C #2C4BBF
analogous
#BF562C #BFA02C #94BF2C
triadic
#BFA02C #2CBFA0 #A02CBF
tetradic
#BFA02C #2CBF56 #2C4BBF #BF2C94
square
#BFA02C #2CBF56 #2C4BBF #BF2C94
split-complementary
#BFA02C #2C94BF #562CBF
monochromatic
#5C4D15 #8D7621 #BFA02C #D7BB51 #E2CE83

Accessibility & contrast

On white

2.54
#BFA02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA02C#FFFFFF#000000##000000
##BFA02C1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bfa02c;
/* rgb */ color: rgb(191, 160, 44);
/* oklch */ color: oklch(71.4% 0.132 93.2);
Tailwind
colors: {
  custom: {
    50: '#d7bb6e',
    500: '#bfa02c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa02c;
$custom-light: #d7bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa02c",
  "rgb": {
    "r": 191,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 47.347,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.714,
    "c": 0.13241,
    "h": 93.2
  },
  "luminance": 0.364
}

Semantic roles & 50–950 ramp

primary
#BFA02C
secondary
#7B8CCC
accent
#65E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BFA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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