#B8BD31#B8BD31

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

Color values

HEX#B8BD31
RGBrgb(184, 189, 49)
HSLhsl(62, 59%, 47%)
HSVhsv(62, 74%, 74%)
CMYKcmyk(2.6%, 0%, 74.1%, 25.9%)
CIE-LABlab(74.07, -18.20, 65.32)
CIE-LCHlch(74.07, 67.81, 105.57°)
OKLaboklab(77.02% -0.0569 0.1437)
OKLCHoklch(77.02% 0.155 111.6)
XYZxyz(38.5204, 46.8083, 9.9109)
Luminance0.4681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BD31 #3631BD
analogous
#BD7C31 #B8BD31 #72BD31
triadic
#B8BD31 #31B8BD #BD31B8
tetradic
#B8BD31 #31BD7C #3631BD #BD3172
square
#B8BD31 #31BD7C #3631BD #BD3172
split-complementary
#B8BD31 #3172BD #7C31BD
monochromatic
#595C18 #898C24 #B8BD31 #CFD458 #DDE088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8BD31#FFFFFF#000000##000000
##B8BD311.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)
#CCB412
Deuteranopia (green-blind)
#CCB83D
Tritanopia (blue-blind)
#C5B1A2
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #b8bd31;
/* rgb */ color: rgb(184, 189, 49);
/* oklch */ color: oklch(77.0% 0.155 111.6);
Tailwind
colors: {
  custom: {
    50: '#d1d074',
    500: '#b8bd31',
    950: '#000000',
  },
}
SCSS
$custom: #b8bd31;
$custom-light: #d1d074;
$custom-dark: #000000;
JSON
{
  "hex": "#b8bd31",
  "rgb": {
    "r": 184,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 62.143,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.77019,
    "c": 0.15458,
    "h": 111.6
  },
  "luminance": 0.46807
}

Semantic roles & 50–950 ramp

primary
#B8BD31
secondary
#8280CA
accent
#46E24B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141409
muted
#83827B

Preview Lab

Preview with #B8BD31

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

Preview Lab → · Contrast checker → · Palette generator →

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