#B5BC40#B5BC40

#B5BC40 is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.7% C 0.145 H 112.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#B5BC40
RGBrgb(181, 188, 64)
HSLhsl(63, 49%, 49%)
HSVhsv(63, 66%, 74%)
CMYKcmyk(3.7%, 0%, 66%, 26.3%)
CIE-LABlab(73.65, -18.19, 59.32)
CIE-LCHlch(73.65, 62.05, 107.05°)
OKLaboklab(76.66% -0.0553 0.1337)
OKLCHoklch(76.66% 0.145 112.5)
XYZxyz(37.9658, 46.1612, 11.7595)
Luminance0.4616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC40 #4740BC
analogous
#BC8540 #B5BC40 #77BC40
triadic
#B5BC40 #40B5BC #BC40B5
tetradic
#B5BC40 #40BC85 #4740BC #BC4077
square
#B5BC40 #40BC85 #4740BC #BC4077
split-complementary
#B5BC40 #4077BC #8540BC
monochromatic
#5D6121 #898E30 #B5BC40 #C8CD6C #D9DD9A

Accessibility & contrast

On white

2.05
#B5BC40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.23
#B5BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC40
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC40#FFFFFF#000000##000000
##B5BC401.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32F
Deuteranopia (green-blind)
#CAB649
Tritanopia (blue-blind)
#C1B1A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc40;
/* rgb */ color: rgb(181, 188, 64);
/* oklch */ color: oklch(76.7% 0.145 112.5);
Tailwind
colors: {
  custom: {
    50: '#ced07b',
    500: '#b5bc40',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc40;
$custom-light: #ced07b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc40",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 63.387,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76658,
    "c": 0.14468,
    "h": 112.5
  },
  "luminance": 0.4616
}

Semantic roles & 50–950 ramp

primary
#B5BC40
secondary
#938FC9
accent
#4FD957
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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