#B8A562#B8A562

#B8A562 is a light, moderate yellow. Relative luminance 0.380; OKLCH L 72.3% C 0.090 H 94.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B8A562
RGBrgb(184, 165, 98)
HSLhsl(47, 38%, 55%)
HSVhsv(47, 47%, 72%)
CMYKcmyk(0%, 10.3%, 46.7%, 27.8%)
CIE-LABlab(68.01, -2.27, 37.11)
CIE-LCHlch(68.01, 37.18, 93.50°)
OKLaboklab(72.35% -0.0063 0.0895)
OKLCHoklch(72.35% 0.09 94.1)
XYZxyz(35.4279, 37.9838, 17.0184)
Luminance0.3798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A562 #6275B8
analogous
#B87A62 #B8A562 #A0B862
triadic
#B8A562 #62B8A5 #A562B8
tetradic
#B8A562 #62B87A #6275B8 #B862A0
square
#B8A562 #62B87A #6275B8 #B862A0
split-complementary
#B8A562 #62A0B8 #7A62B8
monochromatic
#6E6132 #988645 #B8A562 #CBBD8C #DED5B6

Accessibility & contrast

On white

2.44
#B8A562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B8A562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A562
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A562#FFFFFF#000000##000000
##B8A5621.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A25D
Deuteranopia (green-blind)
#B7A865
Tritanopia (blue-blind)
#C49C95
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a562;
/* rgb */ color: rgb(184, 165, 98);
/* oklch */ color: oklch(72.3% 0.090 94.1);
Tailwind
colors: {
  custom: {
    50: '#cfbf90',
    500: '#b8a562',
    950: '#000000',
  },
}
SCSS
$custom: #b8a562;
$custom-light: #cfbf90;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a562",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 98
  },
  "hsl": {
    "h": 46.744,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.72347,
    "c": 0.08971,
    "h": 94.1
  },
  "luminance": 0.37982
}

Semantic roles & 50–950 ramp

primary
#B8A562
secondary
#A9B1CD
accent
#74CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A562

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

Preview Lab → · Contrast checker → · Palette generator →

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