#B8A75F#B8A75F

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

Color values

HEX#B8A75F
RGBrgb(184, 167, 95)
HSLhsl(49, 39%, 55%)
HSVhsv(49, 48%, 72%)
CMYKcmyk(0%, 9.2%, 48.4%, 27.8%)
CIE-LABlab(68.50, -3.63, 39.26)
CIE-LCHlch(68.50, 39.43, 95.29°)
OKLaboklab(72.72% -0.0106 0.0941)
OKLCHoklch(72.72% 0.095 96.4)
XYZxyz(35.6525, 38.6554, 16.4075)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A75F #5F70B8
analogous
#B87A5F #B8A75F #9DB85F
triadic
#B8A75F #5FB8A7 #A75FB8
tetradic
#B8A75F #5FB87A #5F70B8 #B85F9D
square
#B8A75F #5FB87A #5F70B8 #B85F9D
split-complementary
#B8A75F #5F9DB8 #7A5FB8
monochromatic
#6C6130 #978743 #B8A75F #CBBE89 #DED6B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8A75F#FFFFFF#000000##000000
##B8A75F1.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)
#B4A459
Deuteranopia (green-blind)
#B9AA62
Tritanopia (blue-blind)
#C49D96
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a75f;
/* rgb */ color: rgb(184, 167, 95);
/* oklch */ color: oklch(72.7% 0.095 96.4);
Tailwind
colors: {
  custom: {
    50: '#cfc08e',
    500: '#b8a75f',
    950: '#000000',
  },
}
SCSS
$custom: #b8a75f;
$custom-light: #cfc08e;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a75f",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 95
  },
  "hsl": {
    "h": 48.539,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.72723,
    "c": 0.09469,
    "h": 96.4
  },
  "luminance": 0.38654
}

Semantic roles & 50–950 ramp

primary
#B8A75F
secondary
#A7AECC
accent
#70CE59
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120C
muted
#82817D

Preview Lab

Preview with #B8A75F

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

Preview Lab → · Contrast checker → · Palette generator →

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