#B8A862#B8A862

#B8A862 is a light, moderate yellow. Relative luminance 0.391; OKLCH L 73.0% C 0.092 H 96.8°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B8A862
RGBrgb(184, 168, 98)
HSLhsl(49, 38%, 55%)
HSVhsv(49, 47%, 72%)
CMYKcmyk(0%, 8.7%, 46.7%, 27.8%)
CIE-LABlab(68.81, -3.87, 38.10)
CIE-LCHlch(68.81, 38.30, 95.80°)
OKLaboklab(72.98% -0.011 0.0917)
OKLCHoklch(72.98% 0.092 96.8)
XYZxyz(35.9754, 39.0788, 17.2008)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A862 #6272B8
analogous
#B87D62 #B8A862 #9DB862
triadic
#B8A862 #62B8A8 #A862B8
tetradic
#B8A862 #62B87D #6272B8 #B8629D
square
#B8A862 #62B87D #6272B8 #B8629D
split-complementary
#B8A862 #629DB8 #7D62B8
monochromatic
#6E6332 #988945 #B8A862 #CBBF8C #DED7B6

Accessibility & contrast

On white

2.38
#B8A862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B8A862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A862
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A862#FFFFFF#000000##000000
##B8A8621.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A55C
Deuteranopia (green-blind)
#B9AA65
Tritanopia (blue-blind)
#C49F97
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b8a862;
/* rgb */ color: rgb(184, 168, 98);
/* oklch */ color: oklch(73.0% 0.092 96.8);
Tailwind
colors: {
  custom: {
    50: '#cfc190',
    500: '#b8a862',
    950: '#000000',
  },
}
SCSS
$custom: #b8a862;
$custom-light: #cfc190;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a862",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 98
  },
  "hsl": {
    "h": 48.837,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.72979,
    "c": 0.09237,
    "h": 96.8
  },
  "luminance": 0.39077
}

Semantic roles & 50–950 ramp

primary
#B8A862
secondary
#A9B0CD
accent
#70CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A862

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

Preview Lab → · Contrast checker → · Palette generator →

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