#B5BC54#B5BC54

#B5BC54 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.9% C 0.128 H 112.6°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#B5BC54
RGBrgb(181, 188, 84)
HSLhsl(64, 44%, 53%)
HSVhsv(64, 55%, 74%)
CMYKcmyk(3.7%, 0%, 55.3%, 26.3%)
CIE-LABlab(73.82, -16.77, 50.86)
CIE-LCHlch(73.82, 53.56, 108.25°)
OKLaboklab(76.85% -0.0492 0.1184)
OKLCHoklch(76.85% 0.128 112.6)
XYZxyz(38.6404, 46.4310, 15.3124)
Luminance0.4643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5BC54 #5B54BC
analogous
#BC8F54 #B5BC54 #81BC54
triadic
#B5BC54 #54B5BC #BC54B5
tetradic
#B5BC54 #54BC8F #5B54BC #BC5481
square
#B5BC54 #54BC8F #5B54BC #BC5481
split-complementary
#B5BC54 #5481BC #8F54BC
monochromatic
#676B2A #91973B #B5BC54 #C8CD80 #DBDEAC

Accessibility & contrast

On white

2.04
#B5BC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#B5BC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5BC54
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5BC54#FFFFFF#000000##000000
##B5BC541.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B449
Deuteranopia (green-blind)
#C9B75A
Tritanopia (blue-blind)
#C0B2A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b5bc54;
/* rgb */ color: rgb(181, 188, 84);
/* oklch */ color: oklch(76.9% 0.128 112.6);
Tailwind
colors: {
  custom: {
    50: '#cdd087',
    500: '#b5bc54',
    950: '#000000',
  },
}
SCSS
$custom: #b5bc54;
$custom-light: #cdd087;
$custom-dark: #000000;
JSON
{
  "hex": "#b5bc54",
  "rgb": {
    "r": 181,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 64.038,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.76854,
    "c": 0.12823,
    "h": 112.6
  },
  "luminance": 0.4643
}

Semantic roles & 50–950 ramp

primary
#B5BC54
secondary
#A3A0CC
accent
#54D35D
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#14130C
muted
#82827D

Preview Lab

Preview with #B5BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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