#B8A954#B8A954

#B8A954 is a light, moderate yellow. Relative luminance 0.392; OKLCH L 73.0% C 0.108 H 99.5°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B8A954
RGBrgb(184, 169, 84)
HSLhsl(51, 41%, 53%)
HSVhsv(51, 54%, 72%)
CMYKcmyk(0%, 8.2%, 54.3%, 27.8%)
CIE-LABlab(68.90, -5.68, 45.24)
CIE-LCHlch(68.90, 45.60, 97.16°)
OKLaboklab(73% -0.0177 0.1062)
OKLCHoklch(73% 0.108 99.5)
XYZxyz(35.5566, 39.2078, 14.0807)
Luminance0.3921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A954 #5463B8
analogous
#B87754 #B8A954 #95B854
triadic
#B8A954 #54B8A9 #A954B8
tetradic
#B8A954 #54B877 #5463B8 #B85495
square
#B8A954 #54B877 #5463B8 #B85495
split-complementary
#B8A954 #5495B8 #7754B8
monochromatic
#675E2B #92853D #B8A954 #CABF7F #DCD4AA

Accessibility & contrast

On white

2.38
#B8A954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#B8A954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A954
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A954#FFFFFF#000000##000000
##B8A9541.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54C
Deuteranopia (green-blind)
#BBAB58
Tritanopia (blue-blind)
#C59F96
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a954;
/* rgb */ color: rgb(184, 169, 84);
/* oklch */ color: oklch(73.0% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#cfc286',
    500: '#b8a954',
    950: '#000000',
  },
}
SCSS
$custom: #b8a954;
$custom-light: #cfc286;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a954",
  "rgb": {
    "r": 184,
    "g": 169,
    "b": 84
  },
  "hsl": {
    "h": 51,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72997,
    "c": 0.10771,
    "h": 99.5
  },
  "luminance": 0.39206
}

Semantic roles & 50–950 ramp

primary
#B8A954
secondary
#9EA5CA
accent
#69D157
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A954

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

Preview Lab → · Contrast checker → · Palette generator →

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