#B9BC2D#B9BC2D

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

Color values

HEX#B9BC2D
RGBrgb(185, 188, 45)
HSLhsl(61, 61%, 46%)
HSVhsv(61, 76%, 74%)
CMYKcmyk(1.6%, 0%, 76.1%, 26.3%)
CIE-LABlab(73.85, -17.44, 66.44)
CIE-LCHlch(73.85, 68.69, 104.71°)
OKLaboklab(76.86% -0.0552 0.1454)
OKLCHoklch(76.86% 0.155 110.8)
XYZxyz(38.4658, 46.4713, 9.4257)
Luminance0.4647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC2D #302DBC
analogous
#BC772D #B9BC2D #71BC2D
triadic
#B9BC2D #2DB9BC #BC2DB9
tetradic
#B9BC2D #2DBC77 #302DBC #BC2D71
square
#B9BC2D #2DBC77 #302DBC #BC2D71
split-complementary
#B9BC2D #2D71BC #772DBC
monochromatic
#585915 #888B21 #B9BC2D #D3D551 #DFE182

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9BC2D#FFFFFF#000000##000000
##B9BC2D1.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)
#CBB305
Deuteranopia (green-blind)
#CCB739
Tritanopia (blue-blind)
#C6B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bc2d;
/* rgb */ color: rgb(185, 188, 45);
/* oklch */ color: oklch(76.9% 0.155 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf72',
    500: '#b9bc2d',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc2d;
$custom-light: #d2cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc2d",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 45
  },
  "hsl": {
    "h": 61.259,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76859,
    "c": 0.15548,
    "h": 110.8
  },
  "luminance": 0.4647
}

Semantic roles & 50–950 ramp

primary
#B9BC2D
secondary
#7C7BCA
accent
#43E447
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B9BC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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