#B8A43A#B8A43A

#B8A43A is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.7% C 0.126 H 98.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#B8A43A
RGBrgb(184, 164, 58)
HSLhsl(50, 52%, 47%)
HSVhsv(50, 68%, 72%)
CMYKcmyk(0%, 10.9%, 68.5%, 27.8%)
CIE-LABlab(67.31, -4.84, 55.34)
CIE-LCHlch(67.31, 55.55, 95.00°)
OKLaboklab(71.66% -0.0184 0.1242)
OKLCHoklch(71.66% 0.126 98.4)
XYZxyz(33.8079, 37.0484, 9.3724)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A43A #3A4EB8
analogous
#B8653A #B8A43A #8DB83A
triadic
#B8A43A #3AB8A4 #A43AB8
tetradic
#B8A43A #3AB865 #3A4EB8 #B83A8D
square
#B8A43A #3AB865 #3A4EB8 #B83A8D
split-complementary
#B8A43A #3A8DB8 #653AB8
monochromatic
#5B511D #897B2B #B8A43A #CDBC62 #DCD090

Accessibility & contrast

On white

2.50
#B8A43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#B8A43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A43A
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A43A#FFFFFF#000000##000000
##B8A43A1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A02C
Deuteranopia (green-blind)
#B9A740
Tritanopia (blue-blind)
#C6988E
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b8a43a;
/* rgb */ color: rgb(184, 164, 58);
/* oklch */ color: oklch(71.7% 0.126 98.4);
Tailwind
colors: {
  custom: {
    50: '#d1be76',
    500: '#b8a43a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a43a;
$custom-light: #d1be76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a43a",
  "rgb": {
    "r": 184,
    "g": 164,
    "b": 58
  },
  "hsl": {
    "h": 50.476,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71659,
    "c": 0.12557,
    "h": 98.4
  },
  "luminance": 0.37047
}

Semantic roles & 50–950 ramp

primary
#B8A43A
secondary
#8791C7
accent
#63DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A43A

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

Preview Lab → · Contrast checker → · Palette generator →

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