#B8A54E#B8A54E

#B8A54E is a light, moderate yellow. Relative luminance 0.377; OKLCH L 72.1% C 0.110 H 97.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#B8A54E
RGBrgb(184, 165, 78)
HSLhsl(49, 43%, 51%)
HSVhsv(49, 58%, 72%)
CMYKcmyk(0%, 10.3%, 57.6%, 27.8%)
CIE-LABlab(67.76, -4.04, 46.83)
CIE-LCHlch(67.76, 47.00, 94.93°)
OKLaboklab(72.07% -0.0137 0.109)
OKLCHoklch(72.07% 0.11 97.2)
XYZxyz(34.5988, 37.6522, 12.6514)
Luminance0.3765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A54E #4E61B8
analogous
#B8704E #B8A54E #96B84E
triadic
#B8A54E #4EB8A5 #A54EB8
tetradic
#B8A54E #4EB870 #4E61B8 #B84E96
square
#B8A54E #4EB870 #4E61B8 #B84E96
split-complementary
#B8A54E #4E96B8 #704EB8
monochromatic
#645928 #8F8039 #B8A54E #CABB7A #DBD1A5

Accessibility & contrast

On white

2.46
#B8A54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#B8A54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A54E
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A54E#FFFFFF#000000##000000
##B8A54E1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A145
Deuteranopia (green-blind)
#B9A852
Tritanopia (blue-blind)
#C59A92
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b8a54e;
/* rgb */ color: rgb(184, 165, 78);
/* oklch */ color: oklch(72.1% 0.110 97.2);
Tailwind
colors: {
  custom: {
    50: '#d0bf82',
    500: '#b8a54e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a54e;
$custom-light: #d0bf82;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a54e",
  "rgb": {
    "r": 184,
    "g": 165,
    "b": 78
  },
  "hsl": {
    "h": 49.245,
    "s": 42.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72074,
    "c": 0.10986,
    "h": 97.2
  },
  "luminance": 0.37651
}

Semantic roles & 50–950 ramp

primary
#B8A54E
secondary
#9AA2C8
accent
#6CD355
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #B8A54E

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

Preview Lab → · Contrast checker → · Palette generator →

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