#B8B533#B8B533

#B8B533 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.3% C 0.145 H 108.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B8B533
RGBrgb(184, 181, 51)
HSLhsl(59, 57%, 46%)
HSVhsv(59, 72%, 72%)
CMYKcmyk(0%, 1.6%, 72.3%, 27.8%)
CIE-LABlab(71.88, -14.07, 62.56)
CIE-LCHlch(71.88, 64.12, 102.67°)
OKLaboklab(75.27% -0.0452 0.1382)
OKLCHoklch(75.27% 0.145 108.1)
XYZxyz(36.8900, 43.4783, 9.5803)
Luminance0.4348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B533 #3336B8
analogous
#B87233 #B8B533 #78B833
triadic
#B8B533 #33B8B5 #B533B8
tetradic
#B8B533 #33B872 #3336B8 #B83378
square
#B8B533 #33B872 #3336B8 #B83378
split-complementary
#B8B533 #3378B8 #7233B8
monochromatic
#585718 #888626 #B8B533 #D1CE58 #DEDC88

Accessibility & contrast

On white

2.17
#B8B533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B8B533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B533
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B533#FFFFFF#000000##000000
##B8B5331.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1B
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b533;
/* rgb */ color: rgb(184, 181, 51);
/* oklch */ color: oklch(75.3% 0.145 108.1);
Tailwind
colors: {
  custom: {
    50: '#d1ca74',
    500: '#b8b533',
    950: '#000000',
  },
}
SCSS
$custom: #b8b533;
$custom-light: #d1ca74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b533",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 58.647,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75274,
    "c": 0.14544,
    "h": 108.1
  },
  "luminance": 0.43477
}

Semantic roles & 50–950 ramp

primary
#B8B533
secondary
#7F81C8
accent
#4BE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B533

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

Preview Lab → · Contrast checker → · Palette generator →

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