#B8A741#B8A741

#B8A741 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.123 H 99.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B8A741
RGBrgb(184, 167, 65)
HSLhsl(51, 48%, 49%)
HSVhsv(51, 65%, 72%)
CMYKcmyk(0%, 9.2%, 64.7%, 27.8%)
CIE-LABlab(68.18, -6.02, 53.25)
CIE-LCHlch(68.18, 53.59, 96.45°)
OKLaboklab(72.36% -0.0209 0.121)
OKLCHoklch(72.36% 0.123 99.8)
XYZxyz(34.5415, 38.2109, 10.5560)
Luminance0.3821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A741 #4152B8
analogous
#B86C41 #B8A741 #8EB841
triadic
#B8A741 #41B8A7 #A741B8
tetradic
#B8A741 #41B86C #4152B8 #B8418E
square
#B8A741 #41B86C #4152B8 #B8418E
split-complementary
#B8A741 #418EB8 #6C41B8
monochromatic
#5E5521 #8B7E31 #B8A741 #CBBD6B #DBD199

Accessibility & contrast

On white

2.43
#B8A741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B8A741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A741
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A741#FFFFFF#000000##000000
##B8A7411.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A335
Deuteranopia (green-blind)
#BBA947
Tritanopia (blue-blind)
#C69B92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a741;
/* rgb */ color: rgb(184, 167, 65);
/* oklch */ color: oklch(72.4% 0.123 99.8);
Tailwind
colors: {
  custom: {
    50: '#d0c07a',
    500: '#b8a741',
    950: '#000000',
  },
}
SCSS
$custom: #b8a741;
$custom-light: #d0c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a741",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 65
  },
  "hsl": {
    "h": 51.429,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.72361,
    "c": 0.12274,
    "h": 99.8
  },
  "luminance": 0.38209
}

Semantic roles & 50–950 ramp

primary
#B8A741
secondary
#8E96C7
accent
#64D750
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A741

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

Preview Lab → · Contrast checker → · Palette generator →

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