#B8B332#B8B332

#B8B332 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.8% C 0.144 H 107.2°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#B8B332
RGBrgb(184, 179, 50)
HSLhsl(58, 57%, 46%)
HSVhsv(58, 73%, 72%)
CMYKcmyk(0%, 2.7%, 72.8%, 27.8%)
CIE-LABlab(71.33, -13.09, 62.38)
CIE-LCHlch(71.33, 63.74, 101.85°)
OKLaboklab(74.83% -0.0425 0.1377)
OKLCHoklch(74.83% 0.144 107.2)
XYZxyz(36.4644, 42.6621, 9.3308)
Luminance0.4266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B332 #3237B8
analogous
#B87032 #B8B332 #7AB832
triadic
#B8B332 #32B8B3 #B332B8
tetradic
#B8B332 #32B870 #3237B8 #B8327A
square
#B8B332 #32B870 #3237B8 #B8327A
split-complementary
#B8B332 #327AB8 #7032B8
monochromatic
#585518 #888425 #B8B332 #D1CD56 #DEDB86

Accessibility & contrast

On white

2.20
#B8B332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#B8B332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B332
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B332#FFFFFF#000000##000000
##B8B3321.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC19
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#C5A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b332;
/* rgb */ color: rgb(184, 179, 50);
/* oklch */ color: oklch(74.8% 0.144 107.2);
Tailwind
colors: {
  custom: {
    50: '#d1c973',
    500: '#b8b332',
    950: '#000000',
  },
}
SCSS
$custom: #b8b332;
$custom-light: #d1c973;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b332",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 57.761,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74831,
    "c": 0.14411,
    "h": 107.2
  },
  "luminance": 0.42661
}

Semantic roles & 50–950 ramp

primary
#B8B332
secondary
#7E81C8
accent
#4DE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B332

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

Preview Lab → · Contrast checker → · Palette generator →

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