#B8A74E#B8A74E

#B8A74E is a light, moderate yellow. Relative luminance 0.384; OKLCH L 72.5% C 0.112 H 98.6°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B8A74E
RGBrgb(184, 167, 78)
HSLhsl(50, 43%, 51%)
HSVhsv(50, 58%, 72%)
CMYKcmyk(0%, 9.2%, 57.6%, 27.8%)
CIE-LABlab(68.30, -5.11, 47.44)
CIE-LCHlch(68.30, 47.71, 96.14°)
OKLaboklab(72.5% -0.0168 0.1103)
OKLCHoklch(72.5% 0.112 98.6)
XYZxyz(34.9623, 38.3793, 12.7726)
Luminance0.3838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A74E #4E5FB8
analogous
#B8724E #B8A74E #94B84E
triadic
#B8A74E #4EB8A7 #A74EB8
tetradic
#B8A74E #4EB872 #4E5FB8 #B84E94
square
#B8A74E #4EB872 #4E5FB8 #B84E94
split-complementary
#B8A74E #4E94B8 #724EB8
monochromatic
#645A28 #8F8239 #B8A74E #CABD7A #DBD2A5

Accessibility & contrast

On white

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

On black

8.68
#B8A74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A74E
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A74E#FFFFFF#000000##000000
##B8A74E1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a74e;
/* rgb */ color: rgb(184, 167, 78);
/* oklch */ color: oklch(72.5% 0.112 98.6);
Tailwind
colors: {
  custom: {
    50: '#d0c082',
    500: '#b8a74e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a74e;
$custom-light: #d0c082;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a74e",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 78
  },
  "hsl": {
    "h": 50.377,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.11159,
    "h": 98.6
  },
  "luminance": 0.38378
}

Semantic roles & 50–950 ramp

primary
#B8A74E
secondary
#9AA1C8
accent
#69D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A74E

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

Preview Lab → · Contrast checker → · Palette generator →

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