#B8A041#B8A041

#B8A041 is a light, moderate yellow. Relative luminance 0.357; OKLCH L 70.9% C 0.117 H 95.0°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B8A041
RGBrgb(184, 160, 65)
HSLhsl(48, 48%, 49%)
HSVhsv(48, 65%, 72%)
CMYKcmyk(0%, 13%, 64.7%, 27.8%)
CIE-LABlab(66.30, -2.29, 51.24)
CIE-LCHlch(66.30, 51.30, 92.56°)
OKLaboklab(70.88% -0.0102 0.1167)
OKLCHoklch(70.88% 0.117 95)
XYZxyz(33.2936, 35.7153, 10.1401)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A041 #4159B8
analogous
#B86541 #B8A041 #95B841
triadic
#B8A041 #41B8A0 #A041B8
tetradic
#B8A041 #41B865 #4159B8 #B84195
square
#B8A041 #41B865 #4159B8 #B84195
split-complementary
#B8A041 #4195B8 #6541B8
monochromatic
#5E5121 #8B7931 #B8A041 #CBB86B #DBCD99

Accessibility & contrast

On white

2.58
#B8A041 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#B8A041 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A041
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A041#FFFFFF#000000##000000
##B8A0411.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D36
Deuteranopia (green-blind)
#B6A446
Tritanopia (blue-blind)
#C6948C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a041;
/* rgb */ color: rgb(184, 160, 65);
/* oklch */ color: oklch(70.9% 0.117 95.0);
Tailwind
colors: {
  custom: {
    50: '#d0bb7a',
    500: '#b8a041',
    950: '#000000',
  },
}
SCSS
$custom: #b8a041;
$custom-light: #d0bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a041",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 65
  },
  "hsl": {
    "h": 47.899,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.70877,
    "c": 0.11714,
    "h": 95
  },
  "luminance": 0.35714
}

Semantic roles & 50–950 ramp

primary
#B8A041
secondary
#8E9AC7
accent
#6CD750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B8A041

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

Preview Lab → · Contrast checker → · Palette generator →

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