#BFA138#BFA138

#BFA138 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.7% C 0.126 H 92.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BFA138
RGBrgb(191, 161, 56)
HSLhsl(47, 55%, 48%)
HSVhsv(47, 71%, 75%)
CMYKcmyk(0%, 15.7%, 70.7%, 25.1%)
CIE-LABlab(67.17, -0.28, 56.23)
CIE-LCHlch(67.17, 56.23, 90.28°)
OKLaboklab(71.69% -0.006 0.1255)
OKLCHoklch(71.69% 0.126 92.7)
XYZxyz(34.9464, 36.8536, 9.0134)
Luminance0.3685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA138 #3856BF
analogous
#BF5D38 #BFA138 #99BF38
triadic
#BFA138 #38BFA1 #A138BF
tetradic
#BFA138 #38BF5D #3856BF #BF3899
square
#BFA138 #38BF5D #3856BF #BF3899
split-complementary
#BFA138 #3899BF #5D38BF
monochromatic
#60511C #90792A #BFA138 #D1B963 #DFCE92

Accessibility & contrast

On white

2.51
#BFA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BFA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA138
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA138#FFFFFF#000000##000000
##BFA1381.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#BAA73E
Tritanopia (blue-blind)
#CE948C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bfa138;
/* rgb */ color: rgb(191, 161, 56);
/* oklch */ color: oklch(71.7% 0.126 92.7);
Tailwind
colors: {
  custom: {
    50: '#d6bc75',
    500: '#bfa138',
    950: '#000000',
  },
}
SCSS
$custom: #bfa138;
$custom-light: #d6bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa138",
  "rgb": {
    "r": 191,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 46.667,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.12564,
    "h": 92.7
  },
  "luminance": 0.36852
}

Semantic roles & 50–950 ramp

primary
#BFA138
secondary
#8997CA
accent
#6BDE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BFA138

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

Preview Lab → · Contrast checker → · Palette generator →

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