#B8A046#B8A046

#B8A046 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.9% C 0.113 H 94.4°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B8A046
RGBrgb(184, 160, 70)
HSLhsl(47, 45%, 50%)
HSVhsv(47, 62%, 72%)
CMYKcmyk(0%, 13%, 62%, 27.8%)
CIE-LABlab(66.35, -1.96, 49.01)
CIE-LCHlch(66.35, 49.05, 92.28°)
OKLaboklab(70.93% -0.0087 0.1127)
OKLCHoklch(70.93% 0.113 94.4)
XYZxyz(33.4449, 35.7758, 10.9369)
Luminance0.3577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A046 #465EB8
analogous
#B86746 #B8A046 #97B846
triadic
#B8A046 #46B8A0 #A046B8
tetradic
#B8A046 #46B867 #465EB8 #B84697
square
#B8A046 #46B867 #465EB8 #B84697
split-complementary
#B8A046 #4697B8 #6746B8
monochromatic
#5F5324 #8C7935 #B8A046 #C9B772 #DACE9E

Accessibility & contrast

On white

2.58
#B8A046 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B8A046 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A046
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A046#FFFFFF#000000##000000
##B8A0461.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D3C
Deuteranopia (green-blind)
#B5A44A
Tritanopia (blue-blind)
#C6958C
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a046;
/* rgb */ color: rgb(184, 160, 70);
/* oklch */ color: oklch(70.9% 0.113 94.4);
Tailwind
colors: {
  custom: {
    50: '#d0bb7d',
    500: '#b8a046',
    950: '#000000',
  },
}
SCSS
$custom: #b8a046;
$custom-light: #d0bb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a046",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 70
  },
  "hsl": {
    "h": 47.368,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.70928,
    "c": 0.11299,
    "h": 94.4
  },
  "luminance": 0.35774
}

Semantic roles & 50–950 ramp

primary
#B8A046
secondary
#939EC7
accent
#6ED553
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#14110A
muted
#83807C

Preview Lab

Preview with #B8A046

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

Preview Lab → · Contrast checker → · Palette generator →

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