#B8A43E#B8A43E

#B8A43E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.7% C 0.123 H 98.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B8A43E
RGBrgb(184, 164, 62)
HSLhsl(50, 50%, 48%)
HSVhsv(50, 66%, 72%)
CMYKcmyk(0%, 10.9%, 66.3%, 27.8%)
CIE-LABlab(67.34, -4.61, 53.68)
CIE-LCHlch(67.34, 53.87, 94.91°)
OKLaboklab(71.69% -0.0173 0.1214)
OKLCHoklch(71.69% 0.123 98.1)
XYZxyz(33.9136, 37.0907, 9.9294)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A43E #3E52B8
analogous
#B8673E #B8A43E #8FB83E
triadic
#B8A43E #3EB8A4 #A43EB8
tetradic
#B8A43E #3EB867 #3E52B8 #B83E8F
square
#B8A43E #3EB867 #3E52B8 #B83E8F
split-complementary
#B8A43E #3E8FB8 #673EB8
monochromatic
#5C521F #8A7B2F #B8A43E #CCBB67 #DBD095

Accessibility & contrast

On white

2.49
#B8A43E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B8A43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A43E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A43E#FFFFFF#000000##000000
##B8A43E1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A031
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#C6988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a43e;
/* rgb */ color: rgb(184, 164, 62);
/* oklch */ color: oklch(71.7% 0.123 98.1);
Tailwind
colors: {
  custom: {
    50: '#d1be78',
    500: '#b8a43e',
    950: '#000000',
  },
}
SCSS
$custom: #b8a43e;
$custom-light: #d1be78;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a43e",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 62
  },
  "hsl": {
    "h": 50.164,
    "s": 49.593,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71694,
    "c": 0.12259,
    "h": 98.1
  },
  "luminance": 0.37089
}

Semantic roles & 50–950 ramp

primary
#B8A43E
secondary
#8B95C7
accent
#65D94F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A43E

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

Preview Lab → · Contrast checker → · Palette generator →

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