#B8A462#B8A462

#B8A462 is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.1% C 0.089 H 93.1°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A462
RGBrgb(184, 164, 98)
HSLhsl(46, 38%, 55%)
HSVhsv(46, 47%, 72%)
CMYKcmyk(0%, 10.9%, 46.7%, 27.8%)
CIE-LABlab(67.74, -1.73, 36.78)
CIE-LCHlch(67.74, 36.82, 92.70°)
OKLaboklab(72.14% -0.0048 0.0888)
OKLCHoklch(72.14% 0.089 93.1)
XYZxyz(35.2483, 37.6245, 16.9585)
Luminance0.3762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A462 #6276B8
analogous
#B87962 #B8A462 #A1B862
triadic
#B8A462 #62B8A4 #A462B8
tetradic
#B8A462 #62B879 #6276B8 #B862A1
square
#B8A462 #62B879 #6276B8 #B862A1
split-complementary
#B8A462 #62A1B8 #7962B8
monochromatic
#6E6032 #988545 #B8A462 #CBBC8C #DED5B6

Accessibility & contrast

On white

2.46
#B8A462 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B8A462 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A462
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A462#FFFFFF#000000##000000
##B8A4621.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A25D
Deuteranopia (green-blind)
#B6A864
Tritanopia (blue-blind)
#C49B94
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a462;
/* rgb */ color: rgb(184, 164, 98);
/* oklch */ color: oklch(72.1% 0.089 93.1);
Tailwind
colors: {
  custom: {
    50: '#cfbe90',
    500: '#b8a462',
    950: '#000000',
  },
}
SCSS
$custom: #b8a462;
$custom-light: #cfbe90;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a462",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 46.047,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.72137,
    "c": 0.08888,
    "h": 93.1
  },
  "luminance": 0.37623
}

Semantic roles & 50–950 ramp

primary
#B8A462
secondary
#A9B1CD
accent
#75CE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A462

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

Preview Lab → · Contrast checker → · Palette generator →

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