#B8A646#B8A646

#B8A646 is a light, moderate yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.118 H 98.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#B8A646
RGBrgb(184, 166, 70)
HSLhsl(51, 45%, 50%)
HSVhsv(51, 62%, 72%)
CMYKcmyk(0%, 9.8%, 62%, 27.8%)
CIE-LABlab(67.95, -5.16, 50.78)
CIE-LCHlch(67.95, 51.04, 95.80°)
OKLaboklab(72.2% -0.0179 0.1164)
OKLCHoklch(72.2% 0.118 98.7)
XYZxyz(34.5103, 37.9065, 11.2921)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A646 #4658B8
analogous
#B86D46 #B8A646 #91B846
triadic
#B8A646 #46B8A6 #A646B8
tetradic
#B8A646 #46B86D #4658B8 #B84691
square
#B8A646 #46B86D #4658B8 #B84691
split-complementary
#B8A646 #4691B8 #6D46B8
monochromatic
#5F5624 #8C7E35 #B8A646 #C9BC72 #DAD19E

Accessibility & contrast

On white

2.45
#B8A646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#B8A646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A646
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A646#FFFFFF#000000##000000
##B8A6461.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23B
Deuteranopia (green-blind)
#BAA84B
Tritanopia (blue-blind)
#C69B91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a646;
/* rgb */ color: rgb(184, 166, 70);
/* oklch */ color: oklch(72.2% 0.118 98.7);
Tailwind
colors: {
  custom: {
    50: '#d0c07d',
    500: '#b8a646',
    950: '#000000',
  },
}
SCSS
$custom: #b8a646;
$custom-light: #d0c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a646",
  "rgb": {
    "r": 184,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 50.526,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72197,
    "c": 0.11779,
    "h": 98.7
  },
  "luminance": 0.37905
}

Semantic roles & 50–950 ramp

primary
#B8A646
secondary
#939BC7
accent
#68D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A646

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

Preview Lab → · Contrast checker → · Palette generator →

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