#B8A458#B8A458

#B8A458 is a light, moderate yellow. Relative luminance 0.374; OKLCH L 72.0% C 0.099 H 95.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B8A458
RGBrgb(184, 164, 88)
HSLhsl(48, 40%, 53%)
HSVhsv(48, 52%, 72%)
CMYKcmyk(0%, 10.9%, 52.2%, 27.8%)
CIE-LABlab(67.61, -2.68, 41.73)
CIE-LCHlch(67.61, 41.82, 93.67°)
OKLaboklab(71.99% -0.0086 0.099)
OKLCHoklch(71.99% 0.099 95)
XYZxyz(34.8053, 37.4473, 14.6253)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A458 #586CB8
analogous
#B87458 #B8A458 #9CB858
triadic
#B8A458 #58B8A4 #A458B8
tetradic
#B8A458 #58B874 #586CB8 #B8589C
square
#B8A458 #58B874 #586CB8 #B8589C
split-complementary
#B8A458 #589CB8 #7458B8
monochromatic
#695C2D #94823F #B8A458 #CABB83 #DDD3AE

Accessibility & contrast

On white

2.47
#B8A458 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B8A458 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A458
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A458#FFFFFF#000000##000000
##B8A4581.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A151
Deuteranopia (green-blind)
#B7A75B
Tritanopia (blue-blind)
#C59A92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a458;
/* rgb */ color: rgb(184, 164, 88);
/* oklch */ color: oklch(72.0% 0.099 95.0);
Tailwind
colors: {
  custom: {
    50: '#cfbe89',
    500: '#b8a458',
    950: '#000000',
  },
}
SCSS
$custom: #b8a458;
$custom-light: #cfbe89;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a458",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 47.5,
    "s": 40.336,
    "l": 53.333
  },
  "oklch": {
    "l": 0.71991,
    "c": 0.09933,
    "h": 95
  },
  "luminance": 0.37446
}

Semantic roles & 50–950 ramp

primary
#B8A458
secondary
#A1AACB
accent
#71D058
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120C
muted
#83817D

Preview Lab

Preview with #B8A458

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

Preview Lab → · Contrast checker → · Palette generator →

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