#B8BF38#B8BF38

#B8BF38 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.5% C 0.153 H 112.4°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#B8BF38
RGBrgb(184, 191, 56)
HSLhsl(63, 55%, 48%)
HSVhsv(63, 71%, 75%)
CMYKcmyk(3.7%, 0%, 70.7%, 25.1%)
CIE-LABlab(74.66, -18.87, 63.46)
CIE-LCHlch(74.66, 66.21, 106.56°)
OKLaboklab(77.51% -0.0581 0.141)
OKLCHoklch(77.51% 0.153 112.4)
XYZxyz(39.1130, 47.7384, 10.8947)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BF38 #3F38BF
analogous
#BF8238 #B8BF38 #74BF38
triadic
#B8BF38 #38B8BF #BF38B8
tetradic
#B8BF38 #38BF82 #3F38BF #BF3874
square
#B8BF38 #38BF82 #3F38BF #BF3874
split-complementary
#B8BF38 #3874BF #8238BF
monochromatic
#5D601C #8A902A #B8BF38 #CCD163 #DBDF92

Accessibility & contrast

On white

1.99
#B8BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#B8BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BF38
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BF38#FFFFFF#000000##000000
##B8BF381.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CEB942
Tritanopia (blue-blind)
#C4B3A5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #b8bf38;
/* rgb */ color: rgb(184, 191, 56);
/* oklch */ color: oklch(77.5% 0.153 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d278',
    500: '#b8bf38',
    950: '#000000',
  },
}
SCSS
$custom: #b8bf38;
$custom-light: #d1d278;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bf38",
  "rgb": {
    "r": 184,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 63.111,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77507,
    "c": 0.15253,
    "h": 112.4
  },
  "luminance": 0.47737
}

Semantic roles & 50–950 ramp

primary
#B8BF38
secondary
#8C89CA
accent
#4ADE51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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