#BFA338#BFA338

#BFA338 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.127 H 94.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#BFA338
RGBrgb(191, 163, 56)
HSLhsl(48, 55%, 48%)
HSVhsv(48, 71%, 75%)
CMYKcmyk(0%, 14.7%, 70.7%, 25.1%)
CIE-LABlab(67.69, -1.35, 56.76)
CIE-LCHlch(67.69, 56.77, 91.36°)
OKLaboklab(72.11% -0.0091 0.1266)
OKLCHoklch(72.11% 0.127 94.1)
XYZxyz(35.2987, 37.5582, 9.1308)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA338 #3854BF
analogous
#BF6038 #BFA338 #97BF38
triadic
#BFA338 #38BFA3 #A338BF
tetradic
#BFA338 #38BF60 #3854BF #BF3897
square
#BFA338 #38BF60 #3854BF #BF3897
split-complementary
#BFA338 #3897BF #6038BF
monochromatic
#60521C #907B2A #BFA338 #D1BA63 #DFCF92

Accessibility & contrast

On white

2.47
#BFA338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#BFA338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA338
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA338#FFFFFF#000000##000000
##BFA3381.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A029
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#CE968D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa338;
/* rgb */ color: rgb(191, 163, 56);
/* oklch */ color: oklch(72.1% 0.127 94.1);
Tailwind
colors: {
  custom: {
    50: '#d6bd75',
    500: '#bfa338',
    950: '#000000',
  },
}
SCSS
$custom: #bfa338;
$custom-light: #d6bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa338",
  "rgb": {
    "r": 191,
    "g": 163,
    "b": 56
  },
  "hsl": {
    "h": 47.556,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.7211,
    "c": 0.12694,
    "h": 94.1
  },
  "luminance": 0.37556
}

Semantic roles & 50–950 ramp

primary
#BFA338
secondary
#8996CA
accent
#69DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA338

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

Preview Lab → · Contrast checker → · Palette generator →

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