#B5BC38#B5BC38

#B5BC38 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.150 H 112.5°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#B5BC38
RGBrgb(181, 188, 56)
HSLhsl(63, 54%, 48%)
HSVhsv(63, 70%, 74%)
CMYKcmyk(3.7%, 0%, 70.2%, 26.3%)
CIE-LABlab(73.60, -18.64, 62.34)
CIE-LCHlch(73.60, 65.06, 106.65°)
OKLaboklab(76.6% -0.0573 0.1387)
OKLCHoklch(76.6% 0.15 112.5)
XYZxyz(37.7542, 46.0766, 10.6455)
Luminance0.4608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC38 #3F38BC
analogous
#BC8138 #B5BC38 #73BC38
triadic
#B5BC38 #38B5BC #BC38B5
tetradic
#B5BC38 #38BC81 #3F38BC #BC3873
square
#B5BC38 #38BC81 #3F38BC #BC3873
split-complementary
#B5BC38 #3873BC #8138BC
monochromatic
#5A5E1C #888D2A #B5BC38 #CAD061 #DADE90

Accessibility & contrast

On white

2.06
#B5BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#B5BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC38
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC38#FFFFFF#000000##000000
##B5BC381.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB322
Deuteranopia (green-blind)
#CAB642
Tritanopia (blue-blind)
#C1B1A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc38;
/* rgb */ color: rgb(181, 188, 56);
/* oklch */ color: oklch(76.6% 0.150 112.5);
Tailwind
colors: {
  custom: {
    50: '#ced077',
    500: '#b5bc38',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc38;
$custom-light: #ced077;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc38",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 63.182,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76597,
    "c": 0.15012,
    "h": 112.5
  },
  "luminance": 0.46076
}

Semantic roles & 50–950 ramp

primary
#B5BC38
secondary
#8A87C9
accent
#4ADD52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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