#B9BC45#B9BC45

#B9BC45 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.0% C 0.140 H 110.7°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#B9BC45
RGBrgb(185, 188, 69)
HSLhsl(62, 47%, 50%)
HSVhsv(62, 63%, 74%)
CMYKcmyk(1.6%, 0%, 63.3%, 26.3%)
CIE-LABlab(74.00, -16.20, 57.75)
CIE-LCHlch(74.00, 59.98, 105.67°)
OKLaboklab(77.03% -0.0494 0.131)
OKLCHoklch(77.03% 0.14 110.7)
XYZxyz(39.0661, 46.7114, 12.5874)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC45 #4845BC
analogous
#BC8445 #B9BC45 #7DBC45
triadic
#B9BC45 #45B9BC #BC45B9
tetradic
#B9BC45 #45BC84 #4845BC #BC457D
square
#B9BC45 #45BC84 #4845BC #BC457D
split-complementary
#B9BC45 #457DBC #8445BC
monochromatic
#616324 #8E9034 #B9BC45 #CACC72 #DBDC9F

Accessibility & contrast

On white

2.03
#B9BC45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#B9BC45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC45
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC45#FFFFFF#000000##000000
##B9BC451.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#CBB84D
Tritanopia (blue-blind)
#C5B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bc45;
/* rgb */ color: rgb(185, 188, 69);
/* oklch */ color: oklch(77.0% 0.140 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1d07e',
    500: '#b9bc45',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc45;
$custom-light: #d1d07e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc45",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 69
  },
  "hsl": {
    "h": 61.513,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.77032,
    "c": 0.14004,
    "h": 110.7
  },
  "luminance": 0.4671
}

Semantic roles & 50–950 ramp

primary
#B9BC45
secondary
#9594C9
accent
#51D755
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BC45

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

Preview Lab → · Contrast checker → · Palette generator →

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