#B8B432#B8B432

#B8B432 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.145 H 107.6°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#B8B432
RGBrgb(184, 180, 50)
HSLhsl(58, 57%, 46%)
HSVhsv(58, 73%, 72%)
CMYKcmyk(0%, 2.2%, 72.8%, 27.8%)
CIE-LABlab(71.60, -13.60, 62.65)
CIE-LCHlch(71.60, 64.11, 102.25°)
OKLaboklab(75.05% -0.044 0.1382)
OKLCHoklch(75.05% 0.145 107.6)
XYZxyz(36.6656, 43.0644, 9.3979)
Luminance0.4306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B432 #3236B8
analogous
#B87132 #B8B432 #79B832
triadic
#B8B432 #32B8B4 #B432B8
tetradic
#B8B432 #32B871 #3236B8 #B83279
square
#B8B432 #32B871 #3236B8 #B83279
split-complementary
#B8B432 #3279B8 #7132B8
monochromatic
#585618 #888525 #B8B432 #D1CD56 #DEDC86

Accessibility & contrast

On white

2.18
#B8B432 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#B8B432 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B432
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B432#FFFFFF#000000##000000
##B8B4321.002.189.619.61
#FFFFFF2.181.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD19
Deuteranopia (green-blind)
#C6B23C
Tritanopia (blue-blind)
#C5A89B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b432;
/* rgb */ color: rgb(184, 180, 50);
/* oklch */ color: oklch(75.0% 0.145 107.6);
Tailwind
colors: {
  custom: {
    50: '#d1ca73',
    500: '#b8b432',
    950: '#000000',
  },
}
SCSS
$custom: #b8b432;
$custom-light: #d1ca73;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b432",
  "rgb": {
    "r": 184,
    "g": 180,
    "b": 50
  },
  "hsl": {
    "h": 58.209,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75049,
    "c": 0.14506,
    "h": 107.6
  },
  "luminance": 0.43063
}

Semantic roles & 50–950 ramp

primary
#B8B432
secondary
#7E80C8
accent
#4CE147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B432

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

Preview Lab → · Contrast checker → · Palette generator →

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