#B7BC48#B7BC48

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

Color values

HEX#B7BC48
RGBrgb(183, 188, 72)
HSLhsl(63, 46%, 51%)
HSVhsv(63, 62%, 74%)
CMYKcmyk(2.7%, 0%, 61.7%, 26.3%)
CIE-LABlab(73.87, -16.84, 56.30)
CIE-LCHlch(73.87, 58.76, 106.65°)
OKLaboklab(76.89% -0.0508 0.1284)
OKLCHoklch(76.89% 0.138 111.6)
XYZxyz(38.6824, 46.5025, 13.0678)
Luminance0.4650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BC48 #4D48BC
analogous
#BC8748 #B7BC48 #7DBC48
triadic
#B7BC48 #48B7BC #BC48B7
tetradic
#B7BC48 #48BC87 #4D48BC #BC487D
square
#B7BC48 #48BC87 #4D48BC #BC487D
split-complementary
#B7BC48 #487DBC #8748BC
monochromatic
#626525 #8E9235 #B7BC48 #C9CC75 #DADDA2

Accessibility & contrast

On white

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

On black

10.30
#B7BC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BC48
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BC48#FFFFFF#000000##000000
##B7BC481.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#CAB74F
Tritanopia (blue-blind)
#C3B1A4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b7bc48;
/* rgb */ color: rgb(183, 188, 72);
/* oklch */ color: oklch(76.9% 0.138 111.6);
Tailwind
colors: {
  custom: {
    50: '#cfd080',
    500: '#b7bc48',
    950: '#000000',
  },
}
SCSS
$custom: #b7bc48;
$custom-light: #cfd080;
$custom-dark: #000000;
JSON
{
  "hex": "#b7bc48",
  "rgb": {
    "r": 183,
    "g": 188,
    "b": 72
  },
  "hsl": {
    "h": 62.586,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76893,
    "c": 0.13811,
    "h": 111.6
  },
  "luminance": 0.46502
}

Semantic roles & 50–950 ramp

primary
#B7BC48
secondary
#9896CA
accent
#52D657
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7BC48

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

Preview Lab → · Contrast checker → · Palette generator →

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