#B8A346#B8A346

#B8A346 is a light, moderate yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.115 H 96.6°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#B8A346
RGBrgb(184, 163, 70)
HSLhsl(49, 45%, 50%)
HSVhsv(49, 62%, 72%)
CMYKcmyk(0%, 11.4%, 62%, 27.8%)
CIE-LABlab(67.15, -3.56, 49.89)
CIE-LCHlch(67.15, 50.02, 94.08°)
OKLaboklab(71.56% -0.0133 0.1146)
OKLCHoklch(71.56% 0.115 96.6)
XYZxyz(33.9713, 36.8285, 11.1124)
Luminance0.3683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A346 #465BB8
analogous
#B86A46 #B8A346 #94B846
triadic
#B8A346 #46B8A3 #A346B8
tetradic
#B8A346 #46B86A #465BB8 #B84694
square
#B8A346 #46B86A #465BB8 #B84694
split-complementary
#B8A346 #4694B8 #6A46B8
monochromatic
#5F5424 #8C7C35 #B8A346 #C9B972 #DACF9E

Accessibility & contrast

On white

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

On black

8.37
#B8A346 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A346
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A346#FFFFFF#000000##000000
##B8A3461.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3C
Deuteranopia (green-blind)
#B8A64A
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a346;
/* rgb */ color: rgb(184, 163, 70);
/* oklch */ color: oklch(71.6% 0.115 96.6);
Tailwind
colors: {
  custom: {
    50: '#d0be7d',
    500: '#b8a346',
    950: '#000000',
  },
}
SCSS
$custom: #b8a346;
$custom-light: #d0be7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a346",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 70
  },
  "hsl": {
    "h": 48.947,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.71561,
    "c": 0.11532,
    "h": 96.6
  },
  "luminance": 0.36827
}

Semantic roles & 50–950 ramp

primary
#B8A346
secondary
#939DC7
accent
#6BD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A346

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

Preview Lab → · Contrast checker → · Palette generator →

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