#B8BB4A#B8BB4A

#B8BB4A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 76.8% C 0.135 H 110.6°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#B8BB4A
RGBrgb(184, 187, 74)
HSLhsl(62, 45%, 51%)
HSVhsv(62, 60%, 73%)
CMYKcmyk(1.6%, 0%, 60.4%, 26.7%)
CIE-LABlab(73.69, -15.78, 55.27)
CIE-LCHlch(73.69, 57.47, 105.93°)
OKLaboklab(76.78% -0.0476 0.1265)
OKLCHoklch(76.78% 0.135 110.6)
XYZxyz(38.7746, 46.2264, 13.3573)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB4A #4D4ABB
analogous
#BB854A #B8BB4A #7FBB4A
triadic
#B8BB4A #4AB8BB #BB4AB8
tetradic
#B8BB4A #4ABB85 #4D4ABB #BB4A7F
square
#B8BB4A #4ABB85 #4D4ABB #BB4A7F
split-complementary
#B8BB4A #4A7FBB #854ABB
monochromatic
#636526 #8F9137 #B8BB4A #C9CC76 #DBDCA3

Accessibility & contrast

On white

2.05
#B8BB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.25
#B8BB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB4A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB4A#FFFFFF#000000##000000
##B8BB4A1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B33D
Deuteranopia (green-blind)
#CAB751
Tritanopia (blue-blind)
#C4B0A3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb4a;
/* rgb */ color: rgb(184, 187, 74);
/* oklch */ color: oklch(76.8% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#d0cf81',
    500: '#b8bb4a',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb4a;
$custom-light: #d0cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb4a",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 61.593,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76776,
    "c": 0.13518,
    "h": 110.6
  },
  "luminance": 0.46225
}

Semantic roles & 50–950 ramp

primary
#B8BB4A
secondary
#9997C9
accent
#53D556
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B8BB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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