#B9BC23#B9BC23

#B9BC23 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 76.8% C 0.160 H 110.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#B9BC23
RGBrgb(185, 188, 35)
HSLhsl(61, 69%, 44%)
HSVhsv(61, 81%, 74%)
CMYKcmyk(1.6%, 0%, 81.4%, 26.3%)
CIE-LABlab(73.81, -17.80, 69.26)
CIE-LCHlch(73.81, 71.51, 104.41°)
OKLaboklab(76.81% -0.057 0.1496)
OKLCHoklch(76.81% 0.16 110.8)
XYZxyz(38.2956, 46.4032, 8.5292)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC23 #2623BC
analogous
#BC7223 #B9BC23 #6CBC23
triadic
#B9BC23 #23B9BC #BC23B9
tetradic
#B9BC23 #23BC72 #2623BC #BC236C
square
#B9BC23 #23BC72 #2623BC #BC236C
split-complementary
#B9BC23 #236CBC #7223BC
monochromatic
#535510 #868819 #B9BC23 #D9DC41 #E3E574

Accessibility & contrast

On white

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

On black

10.28
#B9BC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC23
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC23#FFFFFF#000000##000000
##B9BC231.002.0410.2810.28
#FFFFFF2.041.0021.0021.00
#00000010.2821.001.001.00
##00000010.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CDB732
Tritanopia (blue-blind)
#C6B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b9bc23;
/* rgb */ color: rgb(185, 188, 35);
/* oklch */ color: oklch(76.8% 0.160 110.8);
Tailwind
colors: {
  custom: {
    50: '#d2cf6e',
    500: '#b9bc23',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc23;
$custom-light: #d2cf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc23",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 35
  },
  "hsl": {
    "h": 61.176,
    "s": 68.61,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7681,
    "c": 0.16008,
    "h": 110.8
  },
  "luminance": 0.46402
}

Semantic roles & 50–950 ramp

primary
#B9BC23
secondary
#706FCC
accent
#3CEB40
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B9BC23

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

Preview Lab → · Contrast checker → · Palette generator →

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