#B8BB22#B8BB22

#B8BB22 is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.5% C 0.160 H 110.9°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#B8BB22
RGBrgb(184, 187, 34)
HSLhsl(61, 69%, 43%)
HSVhsv(61, 82%, 73%)
CMYKcmyk(1.6%, 0%, 81.8%, 26.7%)
CIE-LABlab(73.45, -17.76, 69.18)
CIE-LCHlch(73.45, 71.42, 104.40°)
OKLaboklab(76.5% -0.0569 0.1493)
OKLCHoklch(76.5% 0.16 110.9)
XYZxyz(37.8276, 45.8476, 8.3699)
Luminance0.4585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BB22 #2522BB
analogous
#BB7122 #B8BB22 #6CBB22
triadic
#B8BB22 #22B8BB #BB22B8
tetradic
#B8BB22 #22BB71 #2522BB #BB226C
square
#B8BB22 #22BB71 #2522BB #BB226C
split-complementary
#B8BB22 #226CBB #7122BB
monochromatic
#52530F #858719 #B8BB22 #D9DC3E #E3E572

Accessibility & contrast

On white

2.07
#B8BB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#B8BB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BB22
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BB22#FFFFFF#000000##000000
##B8BB221.002.0710.1710.17
#FFFFFF2.071.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#CBB631
Tritanopia (blue-blind)
#C5AFA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8bb22;
/* rgb */ color: rgb(184, 187, 34);
/* oklch */ color: oklch(76.5% 0.160 110.9);
Tailwind
colors: {
  custom: {
    50: '#d1cf6d',
    500: '#b8bb22',
    950: '#000000',
  },
}
SCSS
$custom: #b8bb22;
$custom-light: #d1cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bb22",
  "rgb": {
    "r": 184,
    "g": 187,
    "b": 34
  },
  "hsl": {
    "h": 61.176,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76501,
    "c": 0.15975,
    "h": 110.9
  },
  "luminance": 0.45846
}

Semantic roles & 50–950 ramp

primary
#B8BB22
secondary
#6E6DCC
accent
#3CEC3F
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BB22

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

Preview Lab → · Contrast checker → · Palette generator →

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