#B8A846#B8A846

#B8A846 is a light, moderate yellow. Relative luminance 0.386; OKLCH L 72.6% C 0.120 H 100.1°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B8A846
RGBrgb(184, 168, 70)
HSLhsl(52, 45%, 50%)
HSVhsv(52, 62%, 72%)
CMYKcmyk(0%, 8.7%, 62%, 27.8%)
CIE-LABlab(68.49, -6.22, 51.37)
CIE-LCHlch(68.49, 51.74, 96.90°)
OKLaboklab(72.62% -0.0209 0.1177)
OKLCHoklch(72.62% 0.12 100.1)
XYZxyz(34.8767, 38.6393, 11.4142)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A846 #4656B8
analogous
#B86F46 #B8A846 #8FB846
triadic
#B8A846 #46B8A8 #A846B8
tetradic
#B8A846 #46B86F #4656B8 #B8468F
square
#B8A846 #46B86F #4656B8 #B8468F
split-complementary
#B8A846 #468FB8 #6F46B8
monochromatic
#5F5724 #8C8035 #B8A846 #C9BD72 #DAD29E

Accessibility & contrast

On white

2.41
#B8A846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B8A846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A846
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A846#FFFFFF#000000##000000
##B8A8461.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A43B
Deuteranopia (green-blind)
#BBAA4B
Tritanopia (blue-blind)
#C59D93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a846;
/* rgb */ color: rgb(184, 168, 70);
/* oklch */ color: oklch(72.6% 0.120 100.1);
Tailwind
colors: {
  custom: {
    50: '#d0c17d',
    500: '#b8a846',
    950: '#000000',
  },
}
SCSS
$custom: #b8a846;
$custom-light: #d0c17d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a846",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 70
  },
  "hsl": {
    "h": 51.579,
    "s": 44.882,
    "l": 49.804
  },
  "oklch": {
    "l": 0.72623,
    "c": 0.11952,
    "h": 100.1
  },
  "luminance": 0.38638
}

Semantic roles & 50–950 ramp

primary
#B8A846
secondary
#939AC7
accent
#65D553
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A846

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

Preview Lab → · Contrast checker → · Palette generator →

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