#BFA02D#BFA02D

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

Color values

HEX#BFA02D
RGBrgb(191, 160, 45)
HSLhsl(47, 62%, 46%)
HSVhsv(47, 76%, 75%)
CMYKcmyk(0%, 16.2%, 76.4%, 25.1%)
CIE-LABlab(66.83, -0.25, 60.14)
CIE-LCHlch(66.83, 60.14, 90.24°)
OKLaboklab(71.41% -0.0071 0.1317)
OKLCHoklch(71.41% 0.132 93.1)
XYZxyz(34.5323, 36.4095, 7.6910)
Luminance0.3641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA02D #2D4CBF
analogous
#BF572D #BFA02D #95BF2D
triadic
#BFA02D #2DBFA0 #A02DBF
tetradic
#BFA02D #2DBF57 #2D4CBF #BF2D95
square
#BFA02D #2DBF57 #2D4CBF #BF2D95
split-complementary
#BFA02D #2D95BF #572DBF
monochromatic
#5C4D16 #8D7721 #BFA02D #D6BA53 #E2CE84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA02D#FFFFFF#000000##000000
##BFA02D1.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)
#B29D17
Deuteranopia (green-blind)
#B9A634
Tritanopia (blue-blind)
#CF938A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa02d;
/* rgb */ color: rgb(191, 160, 45);
/* oklch */ color: oklch(71.4% 0.132 93.1);
Tailwind
colors: {
  custom: {
    50: '#d7bb6f',
    500: '#bfa02d',
    950: '#000000',
  },
}
SCSS
$custom: #bfa02d;
$custom-light: #d7bb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa02d",
  "rgb": {
    "r": 191,
    "g": 160,
    "b": 45
  },
  "hsl": {
    "h": 47.26,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71406,
    "c": 0.13186,
    "h": 93.1
  },
  "luminance": 0.36407
}

Semantic roles & 50–950 ramp

primary
#BFA02D
secondary
#7C8DCB
accent
#65E543
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BFA02D

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

Preview Lab → · Contrast checker → · Palette generator →

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