#B9BC3E#B9BC3E

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

Color values

HEX#B9BC3E
RGBrgb(185, 188, 62)
HSLhsl(61, 50%, 49%)
HSVhsv(61, 67%, 74%)
CMYKcmyk(1.6%, 0%, 67%, 26.3%)
CIE-LABlab(73.95, -16.62, 60.52)
CIE-LCHlch(73.95, 62.76, 105.35°)
OKLaboklab(76.97% -0.0513 0.1358)
OKLCHoklch(76.97% 0.145 110.7)
XYZxyz(38.8615, 46.6295, 11.5098)
Luminance0.4663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9BC3E #413EBC
analogous
#BC803E #B9BC3E #7ABC3E
triadic
#B9BC3E #3EB9BC #BC3EB9
tetradic
#B9BC3E #3EBC80 #413EBC #BC3E7A
square
#B9BC3E #3EBC80 #413EBC #BC3E7A
split-complementary
#B9BC3E #3E7ABC #803EBC
monochromatic
#5E6020 #8C8E2F #B9BC3E #CBCE6A #DBDD98

Accessibility & contrast

On white

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

On black

10.33
#B9BC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9BC3E
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9BC3E#FFFFFF#000000##000000
##B9BC3E1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42B
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#C6B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b9bc3e;
/* rgb */ color: rgb(185, 188, 62);
/* oklch */ color: oklch(77.0% 0.145 110.7);
Tailwind
colors: {
  custom: {
    50: '#d1d07a',
    500: '#b9bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #b9bc3e;
$custom-light: #d1d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b9bc3e",
  "rgb": {
    "r": 185,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 61.429,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.76973,
    "c": 0.14517,
    "h": 110.7
  },
  "luminance": 0.46629
}

Semantic roles & 50–950 ramp

primary
#B9BC3E
secondary
#8F8DC9
accent
#4EDA51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B9BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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