#B8A54B#B8A54B

#B8A54B is a light, moderate yellow. Relative luminance 0.376; OKLCH L 72.0% C 0.113 H 97.5°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B8A54B
RGBrgb(184, 165, 75)
HSLhsl(50, 43%, 51%)
HSVhsv(50, 59%, 72%)
CMYKcmyk(0%, 10.3%, 59.2%, 27.8%)
CIE-LABlab(67.73, -4.27, 48.22)
CIE-LCHlch(67.73, 48.41, 95.06°)
OKLaboklab(72.04% -0.0147 0.1116)
OKLCHoklch(72.04% 0.113 97.5)
XYZxyz(34.4937, 37.6101, 12.0978)
Luminance0.3761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A54B #4B5EB8
analogous
#B86E4B #B8A54B #94B84B
triadic
#B8A54B #4BB8A5 #A54BB8
tetradic
#B8A54B #4BB86E #4B5EB8 #B84B94
square
#B8A54B #4BB86E #4B5EB8 #B84B94
split-complementary
#B8A54B #4B94B8 #6E4BB8
monochromatic
#625827 #8E7F38 #B8A54B #C9BB77 #DBD1A3

Accessibility & contrast

On white

2.46
#B8A54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B8A54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A54B
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A54B#FFFFFF#000000##000000
##B8A54B1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A142
Deuteranopia (green-blind)
#B9A84F
Tritanopia (blue-blind)
#C59A91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a54b;
/* rgb */ color: rgb(184, 165, 75);
/* oklch */ color: oklch(72.0% 0.113 97.5);
Tailwind
colors: {
  custom: {
    50: '#d0bf80',
    500: '#b8a54b',
    950: '#000000',
  },
}
SCSS
$custom: #b8a54b;
$custom-light: #d0bf80;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a54b",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 75
  },
  "hsl": {
    "h": 49.541,
    "s": 43.426,
    "l": 50.784
  },
  "oklch": {
    "l": 0.72039,
    "c": 0.11259,
    "h": 97.5
  },
  "luminance": 0.37609
}

Semantic roles & 50–950 ramp

primary
#B8A54B
secondary
#97A0C8
accent
#6BD355
background
#FDFBF8
surface
#FAF6EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A54B

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

Preview Lab → · Contrast checker → · Palette generator →

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