#B8A74A#B8A74A

#B8A74A is a light, moderate yellow. Relative luminance 0.383; OKLCH L 72.5% C 0.115 H 99.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B8A74A
RGBrgb(184, 167, 74)
HSLhsl(51, 44%, 51%)
HSVhsv(51, 60%, 72%)
CMYKcmyk(0%, 9.2%, 59.8%, 27.8%)
CIE-LABlab(68.26, -5.41, 49.28)
CIE-LCHlch(68.26, 49.57, 96.26°)
OKLaboklab(72.45% -0.0181 0.1138)
OKLCHoklch(72.45% 0.115 99)
XYZxyz(34.8233, 38.3237, 12.0402)
Luminance0.3832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A74A #4A5BB8
analogous
#B8704A #B8A74A #92B84A
triadic
#B8A74A #4AB8A7 #A74AB8
tetradic
#B8A74A #4AB870 #4A5BB8 #B84A92
square
#B8A74A #4AB870 #4A5BB8 #B84A92
split-complementary
#B8A74A #4A92B8 #704AB8
monochromatic
#615826 #8D8037 #B8A74A #C9BC76 #DAD2A2

Accessibility & contrast

On white

2.42
#B8A74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B8A74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A74A
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A74A#FFFFFF#000000##000000
##B8A74A1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A340
Deuteranopia (green-blind)
#BAA94F
Tritanopia (blue-blind)
#C59C93
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a74a;
/* rgb */ color: rgb(184, 167, 74);
/* oklch */ color: oklch(72.5% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#d0c080',
    500: '#b8a74a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a74a;
$custom-light: #d0c080;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a74a",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 74
  },
  "hsl": {
    "h": 50.727,
    "s": 43.651,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72453,
    "c": 0.11519,
    "h": 99
  },
  "luminance": 0.38322
}

Semantic roles & 50–950 ramp

primary
#B8A74A
secondary
#969EC7
accent
#68D354
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A74A

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

Preview Lab → · Contrast checker → · Palette generator →

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