#B8B32B#B8B32B

#B8B32B is a light, vivid yellow. Relative luminance 0.426; OKLCH L 74.8% C 0.148 H 107.3°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#B8B32B
RGBrgb(184, 179, 43)
HSLhsl(58, 62%, 45%)
HSVhsv(58, 77%, 72%)
CMYKcmyk(0%, 2.7%, 76.6%, 27.8%)
CIE-LABlab(71.29, -13.39, 64.70)
CIE-LCHlch(71.29, 66.07, 101.69°)
OKLaboklab(74.79% -0.044 0.1413)
OKLCHoklch(74.79% 0.148 107.3)
XYZxyz(36.3248, 42.6062, 8.5954)
Luminance0.4260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B32B #2B30B8
analogous
#B86C2B #B8B32B #77B82B
triadic
#B8B32B #2BB8B3 #B32BB8
tetradic
#B8B32B #2BB86C #2B30B8 #B82B77
square
#B8B32B #2BB86C #2B30B8 #B82B77
split-complementary
#B8B32B #2B77B8 #6C2BB8
monochromatic
#555214 #86831F #B8B32B #D5D04B #E1DD7D

Accessibility & contrast

On white

2.21
#B8B32B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#B8B32B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B32B
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B32B#FFFFFF#000000##000000
##B8B32B1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC06
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#C6A79A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b32b;
/* rgb */ color: rgb(184, 179, 43);
/* oklch */ color: oklch(74.8% 0.148 107.3);
Tailwind
colors: {
  custom: {
    50: '#d1c970',
    500: '#b8b32b',
    950: '#000000',
  },
}
SCSS
$custom: #b8b32b;
$custom-light: #d1c970;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b32b",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 43
  },
  "hsl": {
    "h": 57.872,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74788,
    "c": 0.148,
    "h": 107.3
  },
  "luminance": 0.42605
}

Semantic roles & 50–950 ramp

primary
#B8B32B
secondary
#7679C9
accent
#48E543
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #B8B32B

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

Preview Lab → · Contrast checker → · Palette generator →

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