#B8A841#B8A841

#B8A841 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.124 H 100.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B8A841
RGBrgb(184, 168, 65)
HSLhsl(52, 48%, 49%)
HSVhsv(52, 65%, 72%)
CMYKcmyk(0%, 8.7%, 64.7%, 27.8%)
CIE-LABlab(68.45, -6.54, 53.54)
CIE-LCHlch(68.45, 53.94, 96.97°)
OKLaboklab(72.57% -0.0224 0.1216)
OKLCHoklch(72.57% 0.124 100.5)
XYZxyz(34.7254, 38.5788, 10.6173)
Luminance0.3858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A841 #4151B8
analogous
#B86D41 #B8A841 #8DB841
triadic
#B8A841 #41B8A8 #A841B8
tetradic
#B8A841 #41B86D #4151B8 #B8418D
square
#B8A841 #41B86D #4151B8 #B8418D
split-complementary
#B8A841 #418DB8 #6D41B8
monochromatic
#5E5521 #8B7F31 #B8A841 #CBBE6B #DBD299

Accessibility & contrast

On white

2.41
#B8A841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B8A841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A841
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A841#FFFFFF#000000##000000
##B8A8411.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A334
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#C69C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a841;
/* rgb */ color: rgb(184, 168, 65);
/* oklch */ color: oklch(72.6% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#d0c17a',
    500: '#b8a841',
    950: '#000000',
  },
}
SCSS
$custom: #b8a841;
$custom-light: #d0c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a841",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 65
  },
  "hsl": {
    "h": 51.933,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72574,
    "c": 0.1236,
    "h": 100.5
  },
  "luminance": 0.38577
}

Semantic roles & 50–950 ramp

primary
#B8A841
secondary
#8E96C7
accent
#63D750
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A841

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

Preview Lab → · Contrast checker → · Palette generator →

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