#B8A337#B8A337

#B8A337 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.127 H 98.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B8A337
RGBrgb(184, 163, 55)
HSLhsl(50, 54%, 47%)
HSVhsv(50, 70%, 72%)
CMYKcmyk(0%, 11.4%, 70.1%, 27.8%)
CIE-LABlab(67.02, -4.47, 56.27)
CIE-LCHlch(67.02, 56.45, 94.55°)
OKLaboklab(71.42% -0.0177 0.1257)
OKLCHoklch(71.42% 0.127 98)
XYZxyz(33.5555, 36.6622, 8.9227)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A337 #374CB8
analogous
#B86337 #B8A337 #8CB837
triadic
#B8A337 #37B8A3 #A337B8
tetradic
#B8A337 #37B863 #374CB8 #B8378C
square
#B8A337 #37B863 #374CB8 #B8378C
split-complementary
#B8A337 #378CB8 #6337B8
monochromatic
#5A501B #897929 #B8A337 #CFBC5D #DDD08D

Accessibility & contrast

On white

2.52
#B8A337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B8A337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A337
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A337#FFFFFF#000000##000000
##B8A3371.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F27
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#C6978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a337;
/* rgb */ color: rgb(184, 163, 55);
/* oklch */ color: oklch(71.4% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#d1bd74',
    500: '#b8a337',
    950: '#000000',
  },
}
SCSS
$custom: #b8a337;
$custom-light: #d1bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a337",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 50.233,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71422,
    "c": 0.12691,
    "h": 98
  },
  "luminance": 0.36661
}

Semantic roles & 50–950 ramp

primary
#B8A337
secondary
#848FC7
accent
#62DD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A337

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

Preview Lab → · Contrast checker → · Palette generator →

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