#BFA238#BFA238

#BFA238 is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.126 H 93.4°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#BFA238
RGBrgb(191, 162, 56)
HSLhsl(47, 55%, 48%)
HSVhsv(47, 71%, 75%)
CMYKcmyk(0%, 15.2%, 70.7%, 25.1%)
CIE-LABlab(67.43, -0.82, 56.49)
CIE-LCHlch(67.43, 56.50, 90.83°)
OKLaboklab(71.9% -0.0075 0.1261)
OKLCHoklch(71.9% 0.126 93.4)
XYZxyz(35.1218, 37.2045, 9.0719)
Luminance0.3720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA238 #3855BF
analogous
#BF5E38 #BFA238 #98BF38
triadic
#BFA238 #38BFA2 #A238BF
tetradic
#BFA238 #38BF5E #3855BF #BF3898
square
#BFA238 #38BF5E #3855BF #BF3898
split-complementary
#BFA238 #3898BF #5E38BF
monochromatic
#60521C #907A2A #BFA238 #D1BA63 #DFCF92

Accessibility & contrast

On white

2.49
#BFA238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#BFA238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA238
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA238#FFFFFF#000000##000000
##BFA2381.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F29
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#CE958C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa238;
/* rgb */ color: rgb(191, 162, 56);
/* oklch */ color: oklch(71.9% 0.126 93.4);
Tailwind
colors: {
  custom: {
    50: '#d6bd75',
    500: '#bfa238',
    950: '#000000',
  },
}
SCSS
$custom: #bfa238;
$custom-light: #d6bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa238",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 47.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.71902,
    "c": 0.12628,
    "h": 93.4
  },
  "luminance": 0.37203
}

Semantic roles & 50–950 ramp

primary
#BFA238
secondary
#8997CA
accent
#6ADE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA238

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

Preview Lab → · Contrast checker → · Palette generator →

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