#B8BB2E#B8BB2E

#B8BB2E 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#B8BB2E
RGBrgb(184, 187, 46)
HSLhsl(61, 61%, 46%)
HSVhsv(61, 75%, 73%)
CMYKcmyk(1.6%, 0%, 75.4%, 26.7%)
CIE-LABlab(73.50, -17.33, 65.77)
CIE-LCHlch(73.50, 68.02, 104.76°)
OKLaboklab(76.56% -0.0547 0.1441)
OKLCHoklch(76.56% 0.154 110.8)
XYZxyz(38.0320, 45.9293, 9.4461)
Luminance0.4593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB2E #312EBB
analogous
#BB782E #B8BB2E #71BB2E
triadic
#B8BB2E #2EB8BB #BB2EB8
tetradic
#B8BB2E #2EBB78 #312EBB #BB2E71
square
#B8BB2E #2EBB78 #312EBB #BB2E71
split-complementary
#B8BB2E #2E71BB #782EBB
monochromatic
#575916 #888A22 #B8BB2E #D2D452 #DEE083

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BB2E#FFFFFF#000000##000000
##B8BB2E1.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)
#CAB30A
Deuteranopia (green-blind)
#CBB63A
Tritanopia (blue-blind)
#C5AFA1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bb2e;
/* rgb */ color: rgb(184, 187, 46);
/* oklch */ color: oklch(76.6% 0.154 110.8);
Tailwind
colors: {
  custom: {
    50: '#d1cf72',
    500: '#b8bb2e',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb2e;
$custom-light: #d1cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb2e",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 46
  },
  "hsl": {
    "h": 61.277,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.76561,
    "c": 0.15418,
    "h": 110.8
  },
  "luminance": 0.45928
}

Semantic roles & 50–950 ramp

primary
#B8BB2E
secondary
#7D7BCA
accent
#44E448
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #B8BB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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