#B5BC45#B5BC45

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

Color values

HEX#B5BC45
RGBrgb(181, 188, 69)
HSLhsl(64, 47%, 50%)
HSVhsv(64, 63%, 74%)
CMYKcmyk(3.7%, 0%, 63.3%, 26.3%)
CIE-LABlab(73.69, -17.88, 57.32)
CIE-LCHlch(73.69, 60.04, 107.32°)
OKLaboklab(76.7% -0.0539 0.1302)
OKLCHoklch(76.7% 0.141 112.5)
XYZxyz(38.1145, 46.2207, 12.5428)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC45 #4C45BC
analogous
#BC8745 #B5BC45 #7ABC45
triadic
#B5BC45 #45B5BC #BC45B5
tetradic
#B5BC45 #45BC87 #4C45BC #BC457A
square
#B5BC45 #45BC87 #4C45BC #BC457A
split-complementary
#B5BC45 #457ABC #8745BC
monochromatic
#5F6324 #8B9034 #B5BC45 #C7CC72 #D9DC9F

Accessibility & contrast

On white

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

On black

10.24
#B5BC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC45
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC45#FFFFFF#000000##000000
##B5BC451.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5bc45;
/* rgb */ color: rgb(181, 188, 69);
/* oklch */ color: oklch(76.7% 0.141 112.5);
Tailwind
colors: {
  custom: {
    50: '#ced07e',
    500: '#b5bc45',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc45;
$custom-light: #ced07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc45",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 63.529,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.76701,
    "c": 0.14094,
    "h": 112.5
  },
  "luminance": 0.4622
}

Semantic roles & 50–950 ramp

primary
#B5BC45
secondary
#9794C9
accent
#51D759
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B5BC45

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

Preview Lab → · Contrast checker → · Palette generator →

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