#B8A641#B8A641

#B8A641 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.1% C 0.122 H 99.2°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#B8A641
RGBrgb(184, 166, 65)
HSLhsl(51, 48%, 49%)
HSVhsv(51, 65%, 72%)
CMYKcmyk(0%, 9.8%, 64.7%, 27.8%)
CIE-LABlab(67.91, -5.49, 52.97)
CIE-LCHlch(67.91, 53.25, 95.91°)
OKLaboklab(72.15% -0.0194 0.1203)
OKLCHoklch(72.15% 0.122 99.2)
XYZxyz(34.3590, 37.8460, 10.4952)
Luminance0.3784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A641 #4153B8
analogous
#B86B41 #B8A641 #8FB841
triadic
#B8A641 #41B8A6 #A641B8
tetradic
#B8A641 #41B86B #4153B8 #B8418F
square
#B8A641 #41B86B #4153B8 #B8418F
split-complementary
#B8A641 #418FB8 #6B41B8
monochromatic
#5E5421 #8B7D31 #B8A641 #CBBC6B #DBD199

Accessibility & contrast

On white

2.45
#B8A641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#B8A641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A641
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A641#FFFFFF#000000##000000
##B8A6411.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#BAA846
Tritanopia (blue-blind)
#C69A91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a641;
/* rgb */ color: rgb(184, 166, 65);
/* oklch */ color: oklch(72.1% 0.122 99.2);
Tailwind
colors: {
  custom: {
    50: '#d0c07a',
    500: '#b8a641',
    950: '#000000',
  },
}
SCSS
$custom: #b8a641;
$custom-light: #d0c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a641",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 65
  },
  "hsl": {
    "h": 50.924,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72148,
    "c": 0.12189,
    "h": 99.2
  },
  "luminance": 0.37844
}

Semantic roles & 50–950 ramp

primary
#B8A641
secondary
#8E97C7
accent
#65D750
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A641

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

Preview Lab → · Contrast checker → · Palette generator →

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