#BFB238#BFB238

#BFB238 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.3% C 0.139 H 103.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#BFB238
RGBrgb(191, 178, 56)
HSLhsl(54, 55%, 48%)
HSVhsv(54, 71%, 75%)
CMYKcmyk(0%, 6.8%, 70.7%, 25.1%)
CIE-LABlab(71.69, -9.25, 60.74)
CIE-LCHlch(71.69, 61.45, 98.66°)
OKLaboklab(75.28% -0.0315 0.1351)
OKLCHoklch(75.28% 0.139 103.1)
XYZxyz(38.1217, 43.2043, 10.0718)
Luminance0.4320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFB238 #3845BF
analogous
#BF6E38 #BFB238 #88BF38
triadic
#BFB238 #38BFB2 #B238BF
tetradic
#BFB238 #38BF6E #3845BF #BF3888
square
#BFB238 #38BF6E #3845BF #BF3888
split-complementary
#BFB238 #3888BF #6E38BF
monochromatic
#605A1C #90862A #BFB238 #D1C763 #DFD892

Accessibility & contrast

On white

2.18
#BFB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#BFB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFB238
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFB238#FFFFFF#000000##000000
##BFB2381.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#CDA69A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bfb238;
/* rgb */ color: rgb(191, 178, 56);
/* oklch */ color: oklch(75.3% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#d6c876',
    500: '#bfb238',
    950: '#000000',
  },
}
SCSS
$custom: #bfb238;
$custom-light: #d6c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bfb238",
  "rgb": {
    "r": 191,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 54.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.75281,
    "c": 0.13868,
    "h": 103.1
  },
  "luminance": 0.43203
}

Semantic roles & 50–950 ramp

primary
#BFB238
secondary
#898FCA
accent
#58DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BFB238

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

Preview Lab → · Contrast checker → · Palette generator →

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