#B8BD22#B8BD22

#B8BD22 is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.9% C 0.162 H 111.6°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#B8BD22
RGBrgb(184, 189, 34)
HSLhsl(62, 70%, 44%)
HSVhsv(62, 82%, 74%)
CMYKcmyk(2.6%, 0%, 82%, 25.9%)
CIE-LABlab(74.00, -18.76, 69.65)
CIE-LCHlch(74.00, 72.13, 105.08°)
OKLaboklab(76.94% -0.0596 0.1503)
OKLCHoklch(76.94% 0.162 111.6)
XYZxyz(38.2549, 46.7021, 8.5123)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD22 #2722BD
analogous
#BD7422 #B8BD22 #6BBD22
triadic
#B8BD22 #22B8BD #BD22B8
tetradic
#B8BD22 #22BD74 #2722BD #BD226B
square
#B8BD22 #22BD74 #2722BD #BD226B
split-complementary
#B8BD22 #226BBD #7422BD
monochromatic
#53550F #868919 #B8BD22 #D8DD40 #E2E673

Accessibility & contrast

On white

2.03
#B8BD22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#B8BD22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD22
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD22#FFFFFF#000000##000000
##B8BD221.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CDB832
Tritanopia (blue-blind)
#C5B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd22;
/* rgb */ color: rgb(184, 189, 34);
/* oklch */ color: oklch(76.9% 0.162 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d06d',
    500: '#b8bd22',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd22;
$custom-light: #d1d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd22",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 34
  },
  "hsl": {
    "h": 61.935,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.76943,
    "c": 0.16171,
    "h": 111.6
  },
  "luminance": 0.46701
}

Semantic roles & 50–950 ramp

primary
#B8BD22
secondary
#716ECD
accent
#3BEC41
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8BD22

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

Preview Lab → · Contrast checker → · Palette generator →

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