#B5BF38#B5BF38

#B5BF38 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.3% C 0.153 H 113.6°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#B5BF38
RGBrgb(181, 191, 56)
HSLhsl(64, 55%, 48%)
HSVhsv(64, 71%, 75%)
CMYKcmyk(5.2%, 0%, 70.7%, 25.1%)
CIE-LABlab(74.43, -20.14, 63.15)
CIE-LCHlch(74.43, 66.29, 107.68°)
OKLaboklab(77.26% -0.0615 0.1405)
OKLCHoklch(77.26% 0.153 113.6)
XYZxyz(38.4018, 47.3717, 10.8613)
Luminance0.4737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BF38 #4238BF
analogous
#BF8538 #B5BF38 #72BF38
triadic
#B5BF38 #38B5BF #BF38B5
tetradic
#B5BF38 #38BF85 #4238BF #BF3872
square
#B5BF38 #38BF85 #4238BF #BF3872
split-complementary
#B5BF38 #3872BF #8538BF
monochromatic
#5B601C #88902A #B5BF38 #C9D163 #D9DF92

Accessibility & contrast

On white

2.00
#B5BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#B5BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BF38
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BF38#FFFFFF#000000##000000
##B5BF381.002.0010.4710.47
#FFFFFF2.001.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB620
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#C1B4A5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #b5bf38;
/* rgb */ color: rgb(181, 191, 56);
/* oklch */ color: oklch(77.3% 0.153 113.6);
Tailwind
colors: {
  custom: {
    50: '#cfd277',
    500: '#b5bf38',
    950: '#000000',
  },
}
SCSS
$custom: #b5bf38;
$custom-light: #cfd277;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bf38",
  "rgb": {
    "r": 181,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 64.444,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77263,
    "c": 0.15333,
    "h": 113.6
  },
  "luminance": 0.47371
}

Semantic roles & 50–950 ramp

primary
#B5BF38
secondary
#8E89CA
accent
#4ADE55
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141409
muted
#83827B

Preview Lab

Preview with #B5BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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