#B8A657#B8A657

#B8A657 is a light, moderate yellow. Relative luminance 0.382; OKLCH L 72.4% C 0.102 H 96.8°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#B8A657
RGBrgb(184, 166, 87)
HSLhsl(49, 41%, 53%)
HSVhsv(49, 53%, 72%)
CMYKcmyk(0%, 9.8%, 52.7%, 27.8%)
CIE-LABlab(68.13, -3.83, 42.86)
CIE-LCHlch(68.13, 43.03, 95.11°)
OKLaboklab(72.4% -0.012 0.1013)
OKLCHoklch(72.4% 0.102 96.8)
XYZxyz(35.1249, 38.1523, 14.5289)
Luminance0.3815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A657 #5769B8
analogous
#B87557 #B8A657 #99B857
triadic
#B8A657 #57B8A6 #A657B8
tetradic
#B8A657 #57B875 #5769B8 #B85799
square
#B8A657 #57B875 #5769B8 #B85799
split-complementary
#B8A657 #5799B8 #7557B8
monochromatic
#685D2C #93843E #B8A657 #CABD82 #DCD4AD

Accessibility & contrast

On white

2.43
#B8A657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#B8A657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A657
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A657#FFFFFF#000000##000000
##B8A6571.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A350
Deuteranopia (green-blind)
#B9A95A
Tritanopia (blue-blind)
#C59C94
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a657;
/* rgb */ color: rgb(184, 166, 87);
/* oklch */ color: oklch(72.4% 0.102 96.8);
Tailwind
colors: {
  custom: {
    50: '#cfc088',
    500: '#b8a657',
    950: '#000000',
  },
}
SCSS
$custom: #b8a657;
$custom-light: #cfc088;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a657",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 48.866,
    "s": 40.586,
    "l": 53.137
  },
  "oklch": {
    "l": 0.72399,
    "c": 0.10204,
    "h": 96.8
  },
  "luminance": 0.38151
}

Semantic roles & 50–950 ramp

primary
#B8A657
secondary
#A0A8CA
accent
#6ED057
background
#FDFBF8
surface
#FAF7F0
border
#D3D0CB
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A657

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

Preview Lab → · Contrast checker → · Palette generator →

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