#B8A037#B8A037

#B8A037 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.125 H 96.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B8A037
RGBrgb(184, 160, 55)
HSLhsl(49, 54%, 47%)
HSVhsv(49, 70%, 72%)
CMYKcmyk(0%, 13%, 70.1%, 27.8%)
CIE-LABlab(66.22, -2.87, 55.46)
CIE-LCHlch(66.22, 55.54, 92.97°)
OKLaboklab(70.79% -0.0131 0.124)
OKLCHoklch(70.79% 0.125 96)
XYZxyz(33.0292, 35.6095, 8.7473)
Luminance0.3561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A037 #374FB8
analogous
#B86037 #B8A037 #90B837
triadic
#B8A037 #37B8A0 #A037B8
tetradic
#B8A037 #37B860 #374FB8 #B83790
square
#B8A037 #37B860 #374FB8 #B83790
split-complementary
#B8A037 #3790B8 #6037B8
monochromatic
#5A4E1B #897729 #B8A037 #CFBA5D #DDCE8D

Accessibility & contrast

On white

2.59
#B8A037 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B8A037 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A037
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A037#FFFFFF#000000##000000
##B8A0371.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#C7948B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a037;
/* rgb */ color: rgb(184, 160, 55);
/* oklch */ color: oklch(70.8% 0.125 96.0);
Tailwind
colors: {
  custom: {
    50: '#d1bb74',
    500: '#b8a037',
    950: '#000000',
  },
}
SCSS
$custom: #b8a037;
$custom-light: #d1bb74;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a037",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 48.837,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.12464,
    "h": 96
  },
  "luminance": 0.35608
}

Semantic roles & 50–950 ramp

primary
#B8A037
secondary
#8490C7
accent
#66DD4A
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A037

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

Preview Lab → · Contrast checker → · Palette generator →

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