#BFA03F#BFA03F

#BFA03F is a light, moderate yellow. Relative luminance 0.366; OKLCH L 71.5% C 0.120 H 91.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BFA03F
RGBrgb(191, 160, 63)
HSLhsl(45, 50%, 50%)
HSVhsv(45, 67%, 75%)
CMYKcmyk(0%, 16.2%, 67%, 25.1%)
CIE-LABlab(66.96, 0.65, 53.04)
CIE-LCHlch(66.96, 53.04, 89.30°)
OKLaboklab(71.55% -0.0025 0.12)
OKLCHoklch(71.55% 0.12 91.2)
XYZxyz(34.9557, 36.5789, 9.9209)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA03F #3F5EBF
analogous
#BF603F #BFA03F #9EBF3F
triadic
#BFA03F #3FBFA0 #A03FBF
tetradic
#BFA03F #3FBF60 #3F5EBF #BF3F9E
square
#BFA03F #3FBF60 #3F5EBF #BF3F9E
split-complementary
#BFA03F #3F9EBF #603FBF
monochromatic
#635321 #917930 #BFA03F #CFB76D #DECE9B

Accessibility & contrast

On white

2.53
#BFA03F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#BFA03F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA03F
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA03F#FFFFFF#000000##000000
##BFA03F1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E33
Deuteranopia (green-blind)
#B9A744
Tritanopia (blue-blind)
#CE938C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa03f;
/* rgb */ color: rgb(191, 160, 63);
/* oklch */ color: oklch(71.5% 0.120 91.2);
Tailwind
colors: {
  custom: {
    50: '#d6bb79',
    500: '#bfa03f',
    950: '#000000',
  },
}
SCSS
$custom: #bfa03f;
$custom-light: #d6bb79;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa03f",
  "rgb": {
    "r": 191,
    "g": 160,
    "b": 63
  },
  "hsl": {
    "h": 45.469,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71549,
    "c": 0.11999,
    "h": 91.2
  },
  "luminance": 0.36577
}

Semantic roles & 50–950 ramp

primary
#BFA03F
secondary
#909ECA
accent
#70DA4E
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151109
muted
#83807B

Preview Lab

Preview with #BFA03F

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

Preview Lab → · Contrast checker → · Palette generator →

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