#B8A83A#B8A83A

#B8A83A is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.5% C 0.129 H 100.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B8A83A
RGBrgb(184, 168, 58)
HSLhsl(52, 52%, 47%)
HSVhsv(52, 68%, 72%)
CMYKcmyk(0%, 8.7%, 68.5%, 27.8%)
CIE-LABlab(68.39, -6.96, 56.44)
CIE-LCHlch(68.39, 56.87, 97.03°)
OKLaboklab(72.51% -0.0244 0.1265)
OKLCHoklch(72.51% 0.129 100.9)
XYZxyz(34.5350, 38.5026, 9.6148)
Luminance0.3850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A83A #3A4AB8
analogous
#B8693A #B8A83A #89B83A
triadic
#B8A83A #3AB8A8 #A83AB8
tetradic
#B8A83A #3AB869 #3A4AB8 #B83A89
square
#B8A83A #3AB869 #3A4AB8 #B83A89
split-complementary
#B8A83A #3A89B8 #693AB8
monochromatic
#5B531D #897E2B #B8A83A #CDC062 #DCD290

Accessibility & contrast

On white

2.41
#B8A83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B8A83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A83A
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A83A#FFFFFF#000000##000000
##B8A83A1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A32B
Deuteranopia (green-blind)
#BCAA41
Tritanopia (blue-blind)
#C69C92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b8a83a;
/* rgb */ color: rgb(184, 168, 58);
/* oklch */ color: oklch(72.5% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#d1c176',
    500: '#b8a83a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a83a;
$custom-light: #d1c176;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a83a",
  "rgb": {
    "r": 184,
    "g": 168,
    "b": 58
  },
  "hsl": {
    "h": 52.381,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.12887,
    "h": 100.9
  },
  "luminance": 0.38501
}

Semantic roles & 50–950 ramp

primary
#B8A83A
secondary
#878FC7
accent
#5EDC4C
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B8A83A

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

Preview Lab → · Contrast checker → · Palette generator →

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