#B8A362#B8A362

#B8A362 is a light, moderate yellow. Relative luminance 0.373; OKLCH L 71.9% C 0.088 H 92.1°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B8A362
RGBrgb(184, 163, 98)
HSLhsl(45, 38%, 55%)
HSVhsv(45, 47%, 72%)
CMYKcmyk(0%, 11.4%, 46.7%, 27.8%)
CIE-LABlab(67.48, -1.20, 36.45)
CIE-LCHlch(67.48, 36.47, 91.88°)
OKLaboklab(71.93% -0.0032 0.088)
OKLCHoklch(71.93% 0.088 92.1)
XYZxyz(35.0700, 37.2680, 16.8990)
Luminance0.3727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A362 #6277B8
analogous
#B87862 #B8A362 #A2B862
triadic
#B8A362 #62B8A3 #A362B8
tetradic
#B8A362 #62B878 #6277B8 #B862A2
square
#B8A362 #62B878 #6277B8 #B862A2
split-complementary
#B8A362 #62A2B8 #7862B8
monochromatic
#6E5F32 #988445 #B8A362 #CBBC8C #DED4B6

Accessibility & contrast

On white

2.48
#B8A362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B8A362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A362
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A362#FFFFFF#000000##000000
##B8A3621.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A15D
Deuteranopia (green-blind)
#B5A764
Tritanopia (blue-blind)
#C49A93
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a362;
/* rgb */ color: rgb(184, 163, 98);
/* oklch */ color: oklch(71.9% 0.088 92.1);
Tailwind
colors: {
  custom: {
    50: '#cfbe90',
    500: '#b8a362',
    950: '#000000',
  },
}
SCSS
$custom: #b8a362;
$custom-light: #cfbe90;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a362",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 98
  },
  "hsl": {
    "h": 45.349,
    "s": 37.719,
    "l": 55.294
  },
  "oklch": {
    "l": 0.71928,
    "c": 0.08806,
    "h": 92.1
  },
  "luminance": 0.37267
}

Semantic roles & 50–950 ramp

primary
#B8A362
secondary
#A9B2CD
accent
#76CE5A
background
#FCFBF8
surface
#F9F6F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A362

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

Preview Lab → · Contrast checker → · Palette generator →

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