#B8A558#B8A558

#B8A558 is a light, moderate yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.100 H 95.8°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B8A558
RGBrgb(184, 165, 88)
HSLhsl(48, 40%, 53%)
HSVhsv(48, 52%, 72%)
CMYKcmyk(0%, 10.3%, 52.2%, 27.8%)
CIE-LABlab(67.88, -3.21, 42.05)
CIE-LCHlch(67.88, 42.17, 94.37°)
OKLaboklab(72.2% -0.0101 0.0997)
OKLCHoklch(72.2% 0.1 95.8)
XYZxyz(34.9849, 37.8066, 14.6852)
Luminance0.3780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A558 #586BB8
analogous
#B87558 #B8A558 #9BB858
triadic
#B8A558 #58B8A5 #A558B8
tetradic
#B8A558 #58B875 #586BB8 #B8589B
square
#B8A558 #58B875 #586BB8 #B8589B
split-complementary
#B8A558 #589BB8 #7558B8
monochromatic
#695D2D #94833F #B8A558 #CABC83 #DDD3AE

Accessibility & contrast

On white

2.45
#B8A558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B8A558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A558
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A558#FFFFFF#000000##000000
##B8A5581.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A251
Deuteranopia (green-blind)
#B8A85B
Tritanopia (blue-blind)
#C59B93
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a558;
/* rgb */ color: rgb(184, 165, 88);
/* oklch */ color: oklch(72.2% 0.100 95.8);
Tailwind
colors: {
  custom: {
    50: '#cfbf89',
    500: '#b8a558',
    950: '#000000',
  },
}
SCSS
$custom: #b8a558;
$custom-light: #cfbf89;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a558",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 88
  },
  "hsl": {
    "h": 48.125,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.72201,
    "c": 0.10017,
    "h": 95.8
  },
  "luminance": 0.37805
}

Semantic roles & 50–950 ramp

primary
#B8A558
secondary
#A1A9CB
accent
#6FD058
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A558

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

Preview Lab → · Contrast checker → · Palette generator →

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