#B8BD32#B8BD32

#B8BD32 is a light, vivid yellow. Relative luminance 0.468; OKLCH L 77.0% C 0.154 H 111.6°. Best body text is #000000 at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#B8BD32
RGBrgb(184, 189, 50)
HSLhsl(62, 58%, 47%)
HSVhsv(62, 74%, 74%)
CMYKcmyk(2.6%, 0%, 73.5%, 25.9%)
CIE-LABlab(74.07, -18.16, 64.99)
CIE-LCHlch(74.07, 67.48, 105.61°)
OKLaboklab(77.03% -0.0567 0.1432)
OKLCHoklch(77.03% 0.154 111.6)
XYZxyz(38.5418, 46.8168, 10.0233)
Luminance0.4682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD32 #3732BD
analogous
#BD7D32 #B8BD32 #73BD32
triadic
#B8BD32 #32B8BD #BD32B8
tetradic
#B8BD32 #32BD7D #3732BD #BD3273
square
#B8BD32 #32BD7D #3732BD #BD3273
split-complementary
#B8BD32 #3273BD #7D32BD
monochromatic
#5A5C18 #898D25 #B8BD32 #CFD359 #DDE089

Accessibility & contrast

On white

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

On black

10.36
#B8BD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BD32
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BD32#FFFFFF#000000##000000
##B8BD321.002.0310.3610.36
#FFFFFF2.031.0021.0021.00
#00000010.3621.001.001.00
##00000010.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB414
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#C5B1A3
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd32;
/* rgb */ color: rgb(184, 189, 50);
/* oklch */ color: oklch(77.0% 0.154 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d074',
    500: '#b8bd32',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd32;
$custom-light: #d1d074;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd32",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 50
  },
  "hsl": {
    "h": 62.158,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.77026,
    "c": 0.15402,
    "h": 111.6
  },
  "luminance": 0.46816
}

Semantic roles & 50–950 ramp

primary
#B8BD32
secondary
#8481CA
accent
#46E14C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BD32

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

Preview Lab → · Contrast checker → · Palette generator →

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