#B7BC40#B7BC40

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

Color values

HEX#B7BC40
RGBrgb(183, 188, 64)
HSLhsl(62, 49%, 49%)
HSVhsv(62, 66%, 74%)
CMYKcmyk(2.7%, 0%, 66%, 26.3%)
CIE-LABlab(73.81, -17.35, 59.54)
CIE-LCHlch(73.81, 62.01, 106.25°)
OKLaboklab(76.82% -0.053 0.1341)
OKLCHoklch(76.82% 0.144 111.6)
XYZxyz(38.4382, 46.4048, 11.7817)
Luminance0.4640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC40 #4540BC
analogous
#BC8340 #B7BC40 #79BC40
triadic
#B7BC40 #40B7BC #BC40B7
tetradic
#B7BC40 #40BC83 #4540BC #BC4079
square
#B7BC40 #40BC83 #4540BC #BC4079
split-complementary
#B7BC40 #4079BC #8340BC
monochromatic
#5E6121 #8B8E30 #B7BC40 #C9CD6C #DADD9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7BC40#FFFFFF#000000##000000
##B7BC401.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)
#CAB42F
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#C3B1A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b7bc40;
/* rgb */ color: rgb(183, 188, 64);
/* oklch */ color: oklch(76.8% 0.144 111.6);
Tailwind
colors: {
  custom: {
    50: '#d0d07c',
    500: '#b7bc40',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc40;
$custom-light: #d0d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc40",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 62.419,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76823,
    "c": 0.1442,
    "h": 111.6
  },
  "luminance": 0.46404
}

Semantic roles & 50–950 ramp

primary
#B7BC40
secondary
#928FC9
accent
#4FD955
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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