#B8B537#B8B537

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

Color values

HEX#B8B537
RGBrgb(184, 181, 55)
HSLhsl(59, 54%, 47%)
HSVhsv(59, 70%, 72%)
CMYKcmyk(0%, 1.6%, 70.1%, 27.8%)
CIE-LABlab(71.90, -13.87, 61.13)
CIE-LCHlch(71.90, 62.68, 102.78°)
OKLaboklab(75.3% -0.0442 0.1359)
OKLCHoklch(75.3% 0.143 108)
XYZxyz(36.9820, 43.5151, 10.0649)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B537 #373AB8
analogous
#B87537 #B8B537 #7AB837
triadic
#B8B537 #37B8B5 #B537B8
tetradic
#B8B537 #37B875 #373AB8 #B8377A
square
#B8B537 #37B875 #373AB8 #B8377A
split-complementary
#B8B537 #377AB8 #7537B8
monochromatic
#5A581B #898729 #B8B537 #CFCC5D #DDDB8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8B537#FFFFFF#000000##000000
##B8B5371.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)
#C4AE22
Deuteranopia (green-blind)
#C6B240
Tritanopia (blue-blind)
#C5A99C
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b537;
/* rgb */ color: rgb(184, 181, 55);
/* oklch */ color: oklch(75.3% 0.143 108.0);
Tailwind
colors: {
  custom: {
    50: '#d1ca76',
    500: '#b8b537',
    950: '#000000',
  },
}
SCSS
$custom: #b8b537;
$custom-light: #d1ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b537",
  "rgb": {
    "r": 184,
    "g": 181,
    "b": 55
  },
  "hsl": {
    "h": 58.605,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75302,
    "c": 0.14294,
    "h": 108
  },
  "luminance": 0.43514
}

Semantic roles & 50–950 ramp

primary
#B8B537
secondary
#8485C7
accent
#4EDD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B537

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

Preview Lab → · Contrast checker → · Palette generator →

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