#B8A541#B8A541

#B8A541 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.9% C 0.121 H 98.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B8A541
RGBrgb(184, 165, 65)
HSLhsl(50, 48%, 49%)
HSVhsv(50, 65%, 72%)
CMYKcmyk(0%, 10.3%, 64.7%, 27.8%)
CIE-LABlab(67.64, -4.96, 52.68)
CIE-LCHlch(67.64, 52.91, 95.37°)
OKLaboklab(71.94% -0.0179 0.1197)
OKLCHoklch(71.94% 0.121 98.5)
XYZxyz(34.1779, 37.4838, 10.4348)
Luminance0.3748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A541 #4154B8
analogous
#B86A41 #B8A541 #90B841
triadic
#B8A541 #41B8A5 #A541B8
tetradic
#B8A541 #41B86A #4154B8 #B84190
square
#B8A541 #41B86A #4154B8 #B84190
split-complementary
#B8A541 #4190B8 #6A41B8
monochromatic
#5E5421 #8B7C31 #B8A541 #CBBC6B #DBD099

Accessibility & contrast

On white

2.47
#B8A541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B8A541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A541
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A541#FFFFFF#000000##000000
##B8A5411.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A135
Deuteranopia (green-blind)
#B9A846
Tritanopia (blue-blind)
#C69990
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a541;
/* rgb */ color: rgb(184, 165, 65);
/* oklch */ color: oklch(71.9% 0.121 98.5);
Tailwind
colors: {
  custom: {
    50: '#d0bf7a',
    500: '#b8a541',
    950: '#000000',
  },
}
SCSS
$custom: #b8a541;
$custom-light: #d0bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a541",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 50.42,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.71935,
    "c": 0.12106,
    "h": 98.5
  },
  "luminance": 0.37482
}

Semantic roles & 50–950 ramp

primary
#B8A541
secondary
#8E97C7
accent
#66D750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A541

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

Preview Lab → · Contrast checker → · Palette generator →

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