#B8B032#B8B032

#B8B032 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.2% C 0.141 H 105.7°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#B8B032
RGBrgb(184, 176, 50)
HSLhsl(56, 57%, 46%)
HSVhsv(56, 73%, 72%)
CMYKcmyk(0%, 4.3%, 72.8%, 27.8%)
CIE-LABlab(70.51, -11.54, 61.60)
CIE-LCHlch(70.51, 62.67, 100.61°)
OKLaboklab(74.18% -0.0382 0.136)
OKLCHoklch(74.18% 0.141 105.7)
XYZxyz(35.8697, 41.4726, 9.1326)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B032 #323AB8
analogous
#B86D32 #B8B032 #7DB832
triadic
#B8B032 #32B8B0 #B032B8
tetradic
#B8B032 #32B86D #323AB8 #B8327D
square
#B8B032 #32B86D #323AB8 #B8327D
split-complementary
#B8B032 #327DB8 #6D32B8
monochromatic
#585418 #888225 #B8B032 #D1CA56 #DED986

Accessibility & contrast

On white

2.26
#B8B032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#B8B032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B032
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B032#FFFFFF#000000##000000
##B8B0321.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA1B
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#C6A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b8b032;
/* rgb */ color: rgb(184, 176, 50);
/* oklch */ color: oklch(74.2% 0.141 105.7);
Tailwind
colors: {
  custom: {
    50: '#d1c773',
    500: '#b8b032',
    950: '#000000',
  },
}
SCSS
$custom: #b8b032;
$custom-light: #d1c773;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b032",
  "rgb": {
    "r": 184,
    "g": 176,
    "b": 50
  },
  "hsl": {
    "h": 56.418,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74178,
    "c": 0.14129,
    "h": 105.7
  },
  "luminance": 0.41471
}

Semantic roles & 50–950 ramp

primary
#B8B032
secondary
#7E82C8
accent
#50E147
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B032

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

Preview Lab → · Contrast checker → · Palette generator →

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