#B8A341#B8A341

#B8A341 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.5% C 0.119 H 97.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B8A341
RGBrgb(184, 163, 65)
HSLhsl(49, 48%, 49%)
HSVhsv(49, 65%, 72%)
CMYKcmyk(0%, 11.4%, 64.7%, 27.8%)
CIE-LABlab(67.10, -3.89, 52.11)
CIE-LCHlch(67.10, 52.25, 94.27°)
OKLaboklab(71.51% -0.0148 0.1185)
OKLCHoklch(71.51% 0.119 97.1)
XYZxyz(33.8200, 36.7680, 10.3155)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A341 #4156B8
analogous
#B86841 #B8A341 #92B841
triadic
#B8A341 #41B8A3 #A341B8
tetradic
#B8A341 #41B868 #4156B8 #B84192
square
#B8A341 #41B868 #4156B8 #B84192
split-complementary
#B8A341 #4192B8 #6841B8
monochromatic
#5E5321 #8B7B31 #B8A341 #CBBA6B #DBCF99

Accessibility & contrast

On white

2.51
#B8A341 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#B8A341 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A341
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A341#FFFFFF#000000##000000
##B8A3411.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F35
Deuteranopia (green-blind)
#B8A646
Tritanopia (blue-blind)
#C6978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a341;
/* rgb */ color: rgb(184, 163, 65);
/* oklch */ color: oklch(71.5% 0.119 97.1);
Tailwind
colors: {
  custom: {
    50: '#d0be7a',
    500: '#b8a341',
    950: '#000000',
  },
}
SCSS
$custom: #b8a341;
$custom-light: #d0be7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a341",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 65
  },
  "hsl": {
    "h": 49.412,
    "s": 47.791,
    "l": 48.824
  },
  "oklch": {
    "l": 0.7151,
    "c": 0.11944,
    "h": 97.1
  },
  "luminance": 0.36766
}

Semantic roles & 50–950 ramp

primary
#B8A341
secondary
#8E98C7
accent
#68D750
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A341

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

Preview Lab → · Contrast checker → · Palette generator →

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