#B8BB2F#B8BB2F

#B8BB2F is a light, vivid yellow. Relative luminance 0.459; OKLCH L 76.6% C 0.154 H 110.8°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#B8BB2F
RGBrgb(184, 187, 47)
HSLhsl(61, 60%, 46%)
HSVhsv(61, 75%, 73%)
CMYKcmyk(1.6%, 0%, 74.9%, 26.7%)
CIE-LABlab(73.50, -17.29, 65.45)
CIE-LCHlch(73.50, 67.70, 104.79°)
OKLaboklab(76.57% -0.0545 0.1437)
OKLCHoklch(76.57% 0.154 110.8)
XYZxyz(38.0519, 45.9373, 9.5511)
Luminance0.4594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB2F #322FBB
analogous
#BB782F #B8BB2F #72BB2F
triadic
#B8BB2F #2FB8BB #BB2FB8
tetradic
#B8BB2F #2FBB78 #322FBB #BB2F72
square
#B8BB2F #2FBB78 #322FBB #BB2F72
split-complementary
#B8BB2F #2F72BB #782FBB
monochromatic
#585916 #888A23 #B8BB2F #D1D453 #DEE084

Accessibility & contrast

On white

2.06
#B8BB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.19
#B8BB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB2F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB2F#FFFFFF#000000##000000
##B8BB2F1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB30D
Deuteranopia (green-blind)
#CBB63B
Tritanopia (blue-blind)
#C5AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb2f;
/* rgb */ color: rgb(184, 187, 47);
/* oklch */ color: oklch(76.6% 0.154 110.8);
Tailwind
colors: {
  custom: {
    50: '#d1cf73',
    500: '#b8bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb2f;
$custom-light: #d1cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb2f",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 61.286,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.76566,
    "c": 0.15366,
    "h": 110.8
  },
  "luminance": 0.45936
}

Semantic roles & 50–950 ramp

primary
#B8BB2F
secondary
#7E7CC9
accent
#45E348
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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