#B8BC22#B8BC22

#B8BC22 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.7% C 0.161 H 111.2°. Best body text is #000000 at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#B8BC22
RGBrgb(184, 188, 34)
HSLhsl(62, 69%, 44%)
HSVhsv(62, 82%, 74%)
CMYKcmyk(2.1%, 0%, 81.9%, 26.3%)
CIE-LABlab(73.72, -18.26, 69.42)
CIE-LCHlch(73.72, 71.78, 104.74°)
OKLaboklab(76.72% -0.0582 0.1498)
OKLCHoklch(76.72% 0.161 111.2)
XYZxyz(38.0405, 46.2733, 8.4409)
Luminance0.4627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BC22 #2622BC
analogous
#BC7322 #B8BC22 #6BBC22
triadic
#B8BC22 #22B8BC #BC22B8
tetradic
#B8BC22 #22BC73 #2622BC #BC226B
square
#B8BC22 #22BC73 #2622BC #BC226B
split-complementary
#B8BC22 #226BBC #7322BC
monochromatic
#53540F #858819 #B8BC22 #D8DC3F #E3E673

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BC22#FFFFFF#000000##000000
##B8BC221.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)
#CBB300
Deuteranopia (green-blind)
#CCB732
Tritanopia (blue-blind)
#C5B0A1
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #b8bc22;
/* rgb */ color: rgb(184, 188, 34);
/* oklch */ color: oklch(76.7% 0.161 111.2);
Tailwind
colors: {
  custom: {
    50: '#d1cf6d',
    500: '#b8bc22',
    950: '#000000',
  },
}
SCSS
$custom: #b8bc22;
$custom-light: #d1cf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bc22",
  "rgb": {
    "r": 184,
    "g": 188,
    "b": 34
  },
  "hsl": {
    "h": 61.558,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.76722,
    "c": 0.16073,
    "h": 111.2
  },
  "luminance": 0.46272
}

Semantic roles & 50–950 ramp

primary
#B8BC22
secondary
#706DCD
accent
#3CEC40
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BC22

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

Preview Lab → · Contrast checker → · Palette generator →

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