#B4BF38#B4BF38

#B4BF38 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.2% C 0.154 H 114.1°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#B4BF38
RGBrgb(180, 191, 56)
HSLhsl(65, 55%, 48%)
HSVhsv(65, 71%, 75%)
CMYKcmyk(5.8%, 0%, 70.7%, 25.1%)
CIE-LABlab(74.35, -20.56, 63.05)
CIE-LCHlch(74.35, 66.32, 108.06°)
OKLaboklab(77.18% -0.0626 0.1403)
OKLCHoklch(77.18% 0.154 114.1)
XYZxyz(38.1681, 47.2512, 10.8504)
Luminance0.4725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BF38 #4338BF
analogous
#BF8638 #B4BF38 #70BF38
triadic
#B4BF38 #38B4BF #BF38B4
tetradic
#B4BF38 #38BF86 #4338BF #BF3870
square
#B4BF38 #38BF86 #4338BF #BF3870
split-complementary
#B4BF38 #3870BF #8638BF
monochromatic
#5B601C #87902A #B4BF38 #C8D163 #D9DF92

Accessibility & contrast

On white

2.01
#B4BF38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#B4BF38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BF38
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BF38#FFFFFF#000000##000000
##B4BF381.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b4bf38;
/* rgb */ color: rgb(180, 191, 56);
/* oklch */ color: oklch(77.2% 0.154 114.1);
Tailwind
colors: {
  custom: {
    50: '#ced277',
    500: '#b4bf38',
    950: '#000000',
  },
}
SCSS
$custom: #b4bf38;
$custom-light: #ced277;
$custom-dark: #000000;
JSON
{
  "hex": "#b4bf38",
  "rgb": {
    "r": 180,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 64.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.77182,
    "c": 0.15362,
    "h": 114.1
  },
  "luminance": 0.4725
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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