#B8BA33#B8BA33

#B8BA33 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.4% C 0.150 H 110.3°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#B8BA33
RGBrgb(184, 186, 51)
HSLhsl(61, 57%, 46%)
HSVhsv(61, 73%, 73%)
CMYKcmyk(1.1%, 0%, 72.6%, 27.1%)
CIE-LABlab(73.25, -16.60, 63.87)
CIE-LCHlch(73.25, 66.00, 104.57°)
OKLaboklab(76.37% -0.0523 0.141)
OKLCHoklch(76.37% 0.15 110.3)
XYZxyz(37.9249, 45.5482, 9.9252)
Luminance0.4555 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8BA33 #3533BA
analogous
#BA7933 #B8BA33 #75BA33
triadic
#B8BA33 #33B8BA #BA33B8
tetradic
#B8BA33 #33BA79 #3533BA #BA3375
square
#B8BA33 #33BA79 #3533BA #BA3375
split-complementary
#B8BA33 #3375BA #7933BA
monochromatic
#595A19 #888A26 #B8BA33 #D0D159 #DDDF89

Accessibility & contrast

On white

2.08
#B8BA33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#B8BA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8BA33
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8BA33#FFFFFF#000000##000000
##B8BA331.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B218
Deuteranopia (green-blind)
#CAB63E
Tritanopia (blue-blind)
#C5AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b8ba33;
/* rgb */ color: rgb(184, 186, 51);
/* oklch */ color: oklch(76.4% 0.150 110.3);
Tailwind
colors: {
  custom: {
    50: '#d1ce74',
    500: '#b8ba33',
    950: '#000000',
  },
}
SCSS
$custom: #b8ba33;
$custom-light: #d1ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8ba33",
  "rgb": {
    "r": 184,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 60.889,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.76371,
    "c": 0.15039,
    "h": 110.3
  },
  "luminance": 0.45547
}

Semantic roles & 50–950 ramp

primary
#B8BA33
secondary
#8180C9
accent
#48E04A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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