#B8A937#B8A937

#B8A937 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 72.7% C 0.132 H 101.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B8A937
RGBrgb(184, 169, 55)
HSLhsl(53, 54%, 47%)
HSVhsv(53, 70%, 72%)
CMYKcmyk(0%, 8.2%, 70.1%, 27.8%)
CIE-LABlab(68.64, -7.65, 57.89)
CIE-LCHlch(68.64, 58.39, 97.53°)
OKLaboklab(72.7% -0.0267 0.1291)
OKLCHoklch(72.7% 0.132 101.7)
XYZxyz(34.6462, 38.8436, 9.2863)
Luminance0.3884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A937 #3746B8
analogous
#B86837 #B8A937 #87B837
triadic
#B8A937 #37B8A9 #A937B8
tetradic
#B8A937 #37B868 #3746B8 #B83787
square
#B8A937 #37B868 #3746B8 #B83787
split-complementary
#B8A937 #3787B8 #6837B8
monochromatic
#5A521B #897E29 #B8A937 #CFC25D #DDD38D

Accessibility & contrast

On white

2.39
#B8A937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B8A937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A937
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A937#FFFFFF#000000##000000
##B8A9371.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#C69D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a937;
/* rgb */ color: rgb(184, 169, 55);
/* oklch */ color: oklch(72.7% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#d1c275',
    500: '#b8a937',
    950: '#000000',
  },
}
SCSS
$custom: #b8a937;
$custom-light: #d1c275;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a937",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 53.023,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72703,
    "c": 0.13182,
    "h": 101.7
  },
  "luminance": 0.38842
}

Semantic roles & 50–950 ramp

primary
#B8A937
secondary
#848BC7
accent
#5CDD4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A937

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

Preview Lab → · Contrast checker → · Palette generator →

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