#B8B536#B8B536

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

Color values

HEX#B8B536
RGBrgb(184, 181, 54)
HSLhsl(59, 55%, 47%)
HSVhsv(59, 71%, 72%)
CMYKcmyk(0%, 1.6%, 70.7%, 27.8%)
CIE-LABlab(71.90, -13.92, 61.49)
CIE-LCHlch(71.90, 63.05, 102.76°)
OKLaboklab(75.3% -0.0445 0.1365)
OKLCHoklch(75.3% 0.144 108)
XYZxyz(36.9583, 43.5056, 9.9399)
Luminance0.4350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B536 #3639B8
analogous
#B87436 #B8B536 #7AB836
triadic
#B8B536 #36B8B5 #B536B8
tetradic
#B8B536 #36B874 #3639B8 #B8367A
square
#B8B536 #36B874 #3639B8 #B8367A
split-complementary
#B8B536 #367AB8 #7436B8
monochromatic
#59581A #898628 #B8B536 #CFCD5C #DDDB8B

Accessibility & contrast

On white

2.16
#B8B536 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B536#FFFFFF#000000##000000
##B8B5361.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8b536;
/* rgb */ color: rgb(184, 181, 54);
/* oklch */ color: oklch(75.3% 0.144 108.0);
Tailwind
colors: {
  custom: {
    50: '#d1ca75',
    500: '#b8b536',
    950: '#000000',
  },
}
SCSS
$custom: #b8b536;
$custom-light: #d1ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b536",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 58.615,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.75295,
    "c": 0.14357,
    "h": 108
  },
  "luminance": 0.43504
}

Semantic roles & 50–950 ramp

primary
#B8B536
secondary
#8284C7
accent
#4DDE4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B536

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

Preview Lab → · Contrast checker → · Palette generator →

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