#B8A843#B8A843

#B8A843 is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.122 H 100.3°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#B8A843
RGBrgb(184, 168, 67)
HSLhsl(52, 47%, 49%)
HSVhsv(52, 64%, 72%)
CMYKcmyk(0%, 8.7%, 63.6%, 27.8%)
CIE-LABlab(68.46, -6.42, 52.68)
CIE-LCHlch(68.46, 53.07, 96.94°)
OKLaboklab(72.59% -0.0218 0.12)
OKLCHoklch(72.59% 0.122 100.3)
XYZxyz(34.7843, 38.6023, 10.9279)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A843 #4353B8
analogous
#B86E43 #B8A843 #8EB843
triadic
#B8A843 #43B8A8 #A843B8
tetradic
#B8A843 #43B86E #4353B8 #B8438E
square
#B8A843 #43B86E #4353B8 #B8438E
split-complementary
#B8A843 #438EB8 #6E43B8
monochromatic
#5E5622 #8B7F33 #B8A843 #CABE6E #DBD29B

Accessibility & contrast

On white

2.41
#B8A843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#B8A843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A843
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A843#FFFFFF#000000##000000
##B8A8431.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A337
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#C69D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a843;
/* rgb */ color: rgb(184, 168, 67);
/* oklch */ color: oklch(72.6% 0.122 100.3);
Tailwind
colors: {
  custom: {
    50: '#d0c17c',
    500: '#b8a843',
    950: '#000000',
  },
}
SCSS
$custom: #b8a843;
$custom-light: #d0c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a843",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 67
  },
  "hsl": {
    "h": 51.795,
    "s": 46.614,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72593,
    "c": 0.12201,
    "h": 100.3
  },
  "luminance": 0.38601
}

Semantic roles & 50–950 ramp

primary
#B8A843
secondary
#9098C7
accent
#64D652
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A843

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

Preview Lab → · Contrast checker → · Palette generator →

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