#B8A255#B8A255

#B8A255 is a light, moderate yellow. Relative luminance 0.367; OKLCH L 71.5% C 0.101 H 93.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B8A255
RGBrgb(184, 162, 85)
HSLhsl(47, 41%, 53%)
HSVhsv(47, 54%, 72%)
CMYKcmyk(0%, 12%, 53.8%, 27.8%)
CIE-LABlab(67.04, -1.87, 42.55)
CIE-LCHlch(67.04, 42.60, 92.51°)
OKLaboklab(71.53% -0.0066 0.1005)
OKLCHoklch(71.53% 0.101 93.8)
XYZxyz(34.3285, 36.6884, 13.8659)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A255 #556BB8
analogous
#B87155 #B8A255 #9CB855
triadic
#B8A255 #55B8A2 #A255B8
tetradic
#B8A255 #55B871 #556BB8 #B8559C
square
#B8A255 #55B871 #556BB8 #B8559C
split-complementary
#B8A255 #559CB8 #7155B8
monochromatic
#675A2B #93803D #B8A255 #CABA80 #DCD1AB

Accessibility & contrast

On white

2.52
#B8A255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B8A255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A255
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A255#FFFFFF#000000##000000
##B8A2551.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F4E
Deuteranopia (green-blind)
#B6A658
Tritanopia (blue-blind)
#C59890
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a255;
/* rgb */ color: rgb(184, 162, 85);
/* oklch */ color: oklch(71.5% 0.101 93.8);
Tailwind
colors: {
  custom: {
    50: '#cfbd87',
    500: '#b8a255',
    950: '#000000',
  },
}
SCSS
$custom: #b8a255;
$custom-light: #cfbd87;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a255",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 46.667,
    "s": 41.079,
    "l": 52.745
  },
  "oklch": {
    "l": 0.71529,
    "c": 0.10071,
    "h": 93.8
  },
  "luminance": 0.36687
}

Semantic roles & 50–950 ramp

primary
#B8A255
secondary
#9FA8CA
accent
#72D157
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A255

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

Preview Lab → · Contrast checker → · Palette generator →

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