#B8A746#B8A746

#B8A746 is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.4% C 0.119 H 99.4°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#B8A746
RGBrgb(184, 167, 70)
HSLhsl(51, 45%, 50%)
HSVhsv(51, 62%, 72%)
CMYKcmyk(0%, 9.2%, 62%, 27.8%)
CIE-LABlab(68.22, -5.69, 51.07)
CIE-LCHlch(68.22, 51.39, 96.35°)
OKLaboklab(72.41% -0.0194 0.1171)
OKLCHoklch(72.41% 0.119 99.4)
XYZxyz(34.6928, 38.2715, 11.3529)
Luminance0.3827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A746 #4657B8
analogous
#B86E46 #B8A746 #90B846
triadic
#B8A746 #46B8A7 #A746B8
tetradic
#B8A746 #46B86E #4657B8 #B84690
square
#B8A746 #46B86E #4657B8 #B84690
split-complementary
#B8A746 #4690B8 #6E46B8
monochromatic
#5F5724 #8C7F35 #B8A746 #C9BC72 #DAD19E

Accessibility & contrast

On white

2.43
#B8A746 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#B8A746 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A746
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A746#FFFFFF#000000##000000
##B8A7461.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33B
Deuteranopia (green-blind)
#BBA94B
Tritanopia (blue-blind)
#C59C92
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a746;
/* rgb */ color: rgb(184, 167, 70);
/* oklch */ color: oklch(72.4% 0.119 99.4);
Tailwind
colors: {
  custom: {
    50: '#d0c07d',
    500: '#b8a746',
    950: '#000000',
  },
}
SCSS
$custom: #b8a746;
$custom-light: #d0c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a746",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 70
  },
  "hsl": {
    "h": 51.053,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7241,
    "c": 0.11865,
    "h": 99.4
  },
  "luminance": 0.3827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A746

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

Preview Lab → · Contrast checker → · Palette generator →

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