#B8B337#B8B337

#B8B337 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.9% C 0.141 H 107.1°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#B8B337
RGBrgb(184, 179, 55)
HSLhsl(58, 54%, 47%)
HSVhsv(58, 70%, 72%)
CMYKcmyk(0%, 2.7%, 70.1%, 27.8%)
CIE-LABlab(71.36, -12.84, 60.59)
CIE-LCHlch(71.36, 61.94, 101.97°)
OKLaboklab(74.87% -0.0414 0.1348)
OKLCHoklch(74.87% 0.141 107.1)
XYZxyz(36.5782, 42.7076, 9.9303)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B337 #373CB8
analogous
#B87237 #B8B337 #7DB837
triadic
#B8B337 #37B8B3 #B337B8
tetradic
#B8B337 #37B872 #373CB8 #B8377D
square
#B8B337 #37B872 #373CB8 #B8377D
split-complementary
#B8B337 #377DB8 #7237B8
monochromatic
#5A571B #898529 #B8B337 #CFCA5D #DDDA8D

Accessibility & contrast

On white

2.20
#B8B337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#B8B337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B337
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B337#FFFFFF#000000##000000
##B8B3371.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#C5B140
Tritanopia (blue-blind)
#C5A79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b8b337;
/* rgb */ color: rgb(184, 179, 55);
/* oklch */ color: oklch(74.9% 0.141 107.1);
Tailwind
colors: {
  custom: {
    50: '#d1c976',
    500: '#b8b337',
    950: '#000000',
  },
}
SCSS
$custom: #b8b337;
$custom-light: #d1c976;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b337",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 55
  },
  "hsl": {
    "h": 57.674,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.74866,
    "c": 0.14098,
    "h": 107.1
  },
  "luminance": 0.42706
}

Semantic roles & 50–950 ramp

primary
#B8B337
secondary
#8486C7
accent
#50DD4A
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B8B337

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

Preview Lab → · Contrast checker → · Palette generator →

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