#B8A75E#B8A75E

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

Color values

HEX#B8A75E
RGBrgb(184, 167, 94)
HSLhsl(49, 39%, 55%)
HSVhsv(49, 49%, 72%)
CMYKcmyk(0%, 9.2%, 48.9%, 27.8%)
CIE-LABlab(68.49, -3.73, 39.76)
CIE-LCHlch(68.49, 39.93, 95.36°)
OKLaboklab(72.71% -0.011 0.0951)
OKLCHoklch(72.71% 0.096 96.6)
XYZxyz(35.6073, 38.6373, 16.1696)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A75E #5E6FB8
analogous
#B87A5E #B8A75E #9CB85E
triadic
#B8A75E #5EB8A7 #A75EB8
tetradic
#B8A75E #5EB87A #5E6FB8 #B85E9C
square
#B8A75E #5EB87A #5E6FB8 #B85E9C
split-complementary
#B8A75E #5E9CB8 #7A5EB8
monochromatic
#6C6130 #968742 #B8A75E #CBBE88 #DDD5B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A75E#FFFFFF#000000##000000
##B8A75E1.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)
#B4A458
Deuteranopia (green-blind)
#B9AA61
Tritanopia (blue-blind)
#C49D96
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a75e;
/* rgb */ color: rgb(184, 167, 94);
/* oklch */ color: oklch(72.7% 0.096 96.6);
Tailwind
colors: {
  custom: {
    50: '#cfc08d',
    500: '#b8a75e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a75e;
$custom-light: #cfc08d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a75e",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 94
  },
  "hsl": {
    "h": 48.667,
    "s": 38.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.72708,
    "c": 0.09574,
    "h": 96.6
  },
  "luminance": 0.38636
}

Semantic roles & 50–950 ramp

primary
#B8A75E
secondary
#A6ADCC
accent
#6FCF59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A75E

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

Preview Lab → · Contrast checker → · Palette generator →

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