#B8A855#B8A855

#B8A855 is a light, moderate yellow. Relative luminance 0.389; OKLCH L 72.8% C 0.106 H 98.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#B8A855
RGBrgb(184, 168, 85)
HSLhsl(50, 41%, 53%)
HSVhsv(50, 54%, 72%)
CMYKcmyk(0%, 8.7%, 53.8%, 27.8%)
CIE-LABlab(68.64, -5.07, 44.45)
CIE-LCHlch(68.64, 44.74, 96.51°)
OKLaboklab(72.8% -0.0158 0.1046)
OKLCHoklch(72.8% 0.106 98.6)
XYZxyz(35.4107, 38.8529, 14.2267)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A855 #5565B8
analogous
#B87655 #B8A855 #96B855
triadic
#B8A855 #55B8A8 #A855B8
tetradic
#B8A855 #55B876 #5565B8 #B85596
square
#B8A855 #55B876 #5565B8 #B85596
split-complementary
#B8A855 #5596B8 #7655B8
monochromatic
#675E2B #93853D #B8A855 #CABE80 #DCD4AB

Accessibility & contrast

On white

2.39
#B8A855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#B8A855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A855
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A855#FFFFFF#000000##000000
##B8A8551.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A44D
Deuteranopia (green-blind)
#BAAA59
Tritanopia (blue-blind)
#C59E95
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a855;
/* rgb */ color: rgb(184, 168, 85);
/* oklch */ color: oklch(72.8% 0.106 98.6);
Tailwind
colors: {
  custom: {
    50: '#cfc187',
    500: '#b8a855',
    950: '#000000',
  },
}
SCSS
$custom: #b8a855;
$custom-light: #cfc187;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a855",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 50.303,
    "s": 41.079,
    "l": 52.745
  },
  "oklch": {
    "l": 0.72797,
    "c": 0.10581,
    "h": 98.6
  },
  "luminance": 0.38851
}

Semantic roles & 50–950 ramp

primary
#B8A855
secondary
#9FA6CA
accent
#6BD157
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A855

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

Preview Lab → · Contrast checker → · Palette generator →

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