#B8A74C#B8A74C

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

Color values

HEX#B8A74C
RGBrgb(184, 167, 76)
HSLhsl(51, 43%, 51%)
HSVhsv(51, 59%, 72%)
CMYKcmyk(0%, 9.2%, 58.7%, 27.8%)
CIE-LABlab(68.28, -5.26, 48.36)
CIE-LCHlch(68.28, 48.65, 96.20°)
OKLaboklab(72.47% -0.0174 0.1121)
OKLCHoklch(72.47% 0.113 98.8)
XYZxyz(34.8917, 38.3510, 12.4007)
Luminance0.3835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A74C #4C5DB8
analogous
#B8714C #B8A74C #93B84C
triadic
#B8A74C #4CB8A7 #A74CB8
tetradic
#B8A74C #4CB871 #4C5DB8 #B84C93
square
#B8A74C #4CB871 #4C5DB8 #B84C93
split-complementary
#B8A74C #4C93B8 #714CB8
monochromatic
#635927 #8E8138 #B8A74C #C9BD78 #DBD2A4

Accessibility & contrast

On white

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

On black

8.67
#B8A74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A74C
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A74C#FFFFFF#000000##000000
##B8A74C1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8a74c;
/* rgb */ color: rgb(184, 167, 76);
/* oklch */ color: oklch(72.5% 0.113 98.8);
Tailwind
colors: {
  custom: {
    50: '#d0c081',
    500: '#b8a74c',
    950: '#000000',
  },
}
SCSS
$custom: #b8a74c;
$custom-light: #d0c081;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a74c",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 50.556,
    "s": 43.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72475,
    "c": 0.11341,
    "h": 98.8
  },
  "luminance": 0.3835
}

Semantic roles & 50–950 ramp

primary
#B8A74C
secondary
#98A0C8
accent
#69D355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120A
muted
#83817C

Preview Lab

Preview with #B8A74C

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

Preview Lab → · Contrast checker → · Palette generator →

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