#B8A754#B8A754

#B8A754 is a light, moderate yellow. Relative luminance 0.385; OKLCH L 72.6% C 0.106 H 98.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B8A754
RGBrgb(184, 167, 84)
HSLhsl(50, 41%, 53%)
HSVhsv(50, 54%, 72%)
CMYKcmyk(0%, 9.2%, 54.3%, 27.8%)
CIE-LABlab(68.37, -4.62, 44.61)
CIE-LCHlch(68.37, 44.85, 95.92°)
OKLaboklab(72.57% -0.0147 0.1049)
OKLCHoklch(72.57% 0.106 98)
XYZxyz(35.1873, 38.4693, 13.9576)
Luminance0.3847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A754 #5465B8
analogous
#B87554 #B8A754 #97B854
triadic
#B8A754 #54B8A7 #A754B8
tetradic
#B8A754 #54B875 #5465B8 #B85497
square
#B8A754 #54B875 #5465B8 #B85497
split-complementary
#B8A754 #5497B8 #7554B8
monochromatic
#675D2B #92843D #B8A754 #CABD7F #DCD4AA

Accessibility & contrast

On white

2.42
#B8A754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B8A754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A754
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A754#FFFFFF#000000##000000
##B8A7541.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34C
Deuteranopia (green-blind)
#BAA958
Tritanopia (blue-blind)
#C59D94
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a754;
/* rgb */ color: rgb(184, 167, 84);
/* oklch */ color: oklch(72.6% 0.106 98.0);
Tailwind
colors: {
  custom: {
    50: '#cfc086',
    500: '#b8a754',
    950: '#000000',
  },
}
SCSS
$custom: #b8a754;
$custom-light: #cfc086;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a754",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 84
  },
  "hsl": {
    "h": 49.8,
    "s": 41.322,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72572,
    "c": 0.10589,
    "h": 98
  },
  "luminance": 0.38468
}

Semantic roles & 50–950 ramp

primary
#B8A754
secondary
#9EA6CA
accent
#6BD157
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A754

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

Preview Lab → · Contrast checker → · Palette generator →

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