#B8B146#B8B146

#B8B146 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.6% C 0.128 H 105.6°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#B8B146
RGBrgb(184, 177, 70)
HSLhsl(56, 45%, 50%)
HSVhsv(56, 62%, 72%)
CMYKcmyk(0%, 3.8%, 62%, 27.8%)
CIE-LABlab(70.92, -10.93, 54.01)
CIE-LCHlch(70.92, 55.11, 101.44°)
OKLaboklab(74.56% -0.0343 0.1233)
OKLCHoklch(74.56% 0.128 105.6)
XYZxyz(36.5961, 42.0781, 11.9873)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B146 #464DB8
analogous
#B87846 #B8B146 #86B846
triadic
#B8B146 #46B8B1 #B146B8
tetradic
#B8B146 #46B878 #464DB8 #B84686
square
#B8B146 #46B878 #464DB8 #B84686
split-complementary
#B8B146 #4686B8 #7846B8
monochromatic
#5F5C24 #8C8635 #B8B146 #C9C472 #DAD69E

Accessibility & contrast

On white

2.23
#B8B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#B8B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B146
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B146#FFFFFF#000000##000000
##B8B1461.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB39
Deuteranopia (green-blind)
#C2B04C
Tritanopia (blue-blind)
#C5A69A
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #b8b146;
/* rgb */ color: rgb(184, 177, 70);
/* oklch */ color: oklch(74.6% 0.128 105.6);
Tailwind
colors: {
  custom: {
    50: '#d0c87e',
    500: '#b8b146',
    950: '#000000',
  },
}
SCSS
$custom: #b8b146;
$custom-light: #d0c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b146",
  "rgb": {
    "r": 184,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 56.316,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74559,
    "c": 0.12799,
    "h": 105.6
  },
  "luminance": 0.42077
}

Semantic roles & 50–950 ramp

primary
#B8B146
secondary
#9396C7
accent
#5BD553
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B8B146

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

Preview Lab → · Contrast checker → · Palette generator →

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