#B8A246#B8A246

#B8A246 is a light, moderate yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.115 H 95.9°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B8A246
RGBrgb(184, 162, 70)
HSLhsl(48, 45%, 50%)
HSVhsv(48, 62%, 72%)
CMYKcmyk(0%, 12%, 62%, 27.8%)
CIE-LABlab(66.88, -3.03, 49.60)
CIE-LCHlch(66.88, 49.69, 93.49°)
OKLaboklab(71.35% -0.0117 0.1139)
OKLCHoklch(71.35% 0.115 95.9)
XYZxyz(33.7944, 36.4748, 11.0534)
Luminance0.3647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A246 #465CB8
analogous
#B86946 #B8A246 #95B846
triadic
#B8A246 #46B8A2 #A246B8
tetradic
#B8A246 #46B869 #465CB8 #B84695
square
#B8A246 #46B869 #465CB8 #B84695
split-complementary
#B8A246 #4695B8 #6946B8
monochromatic
#5F5424 #8C7B35 #B8A246 #C9B872 #DACF9E

Accessibility & contrast

On white

2.53
#B8A246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B8A246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A246
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A246#FFFFFF#000000##000000
##B8A2461.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F3C
Deuteranopia (green-blind)
#B7A64A
Tritanopia (blue-blind)
#C6978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a246;
/* rgb */ color: rgb(184, 162, 70);
/* oklch */ color: oklch(71.4% 0.115 95.9);
Tailwind
colors: {
  custom: {
    50: '#d0bd7d',
    500: '#b8a246',
    950: '#000000',
  },
}
SCSS
$custom: #b8a246;
$custom-light: #d0bd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a246",
  "rgb": {
    "r": 184,
    "g": 162,
    "b": 70
  },
  "hsl": {
    "h": 48.421,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7135,
    "c": 0.11452,
    "h": 95.9
  },
  "luminance": 0.36473
}

Semantic roles & 50–950 ramp

primary
#B8A246
secondary
#939DC7
accent
#6CD553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A246

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

Preview Lab → · Contrast checker → · Palette generator →

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