#B8A257#B8A257

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

Color values

HEX#B8A257
RGBrgb(184, 162, 87)
HSLhsl(46, 41%, 53%)
HSVhsv(46, 53%, 72%)
CMYKcmyk(0%, 12%, 52.7%, 27.8%)
CIE-LABlab(67.07, -1.69, 41.58)
CIE-LCHlch(67.07, 41.62, 92.33°)
OKLaboklab(71.56% -0.0059 0.0985)
OKLCHoklch(71.56% 0.099 93.4)
XYZxyz(34.4090, 36.7207, 14.2903)
Luminance0.3672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A257 #576DB8
analogous
#B87157 #B8A257 #9DB857
triadic
#B8A257 #57B8A2 #A257B8
tetradic
#B8A257 #57B871 #576DB8 #B8579D
square
#B8A257 #57B871 #576DB8 #B8579D
split-complementary
#B8A257 #579DB8 #7157B8
monochromatic
#685B2C #93803E #B8A257 #CABA82 #DCD2AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A257#FFFFFF#000000##000000
##B8A2571.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)
#B09F50
Deuteranopia (green-blind)
#B6A65A
Tritanopia (blue-blind)
#C59891
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a257;
/* rgb */ color: rgb(184, 162, 87);
/* oklch */ color: oklch(71.6% 0.099 93.4);
Tailwind
colors: {
  custom: {
    50: '#cfbd88',
    500: '#b8a257',
    950: '#000000',
  },
}
SCSS
$custom: #b8a257;
$custom-light: #cfbd88;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a257",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 46.392,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.71557,
    "c": 0.09871,
    "h": 93.4
  },
  "luminance": 0.36719
}

Semantic roles & 50–950 ramp

primary
#B8A257
secondary
#A0AACA
accent
#73D057
background
#FDFBF8
surface
#FAF6F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A257

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

Preview Lab → · Contrast checker → · Palette generator →

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