#B8A33A#B8A33A

#B8A33A is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.4% C 0.125 H 97.8°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B8A33A
RGBrgb(184, 163, 58)
HSLhsl(50, 52%, 47%)
HSVhsv(50, 68%, 72%)
CMYKcmyk(0%, 11.4%, 68.5%, 27.8%)
CIE-LABlab(67.05, -4.31, 55.06)
CIE-LCHlch(67.05, 55.23, 94.48°)
OKLaboklab(71.45% -0.0169 0.1236)
OKLCHoklch(71.45% 0.125 97.8)
XYZxyz(33.6296, 36.6919, 9.3130)
Luminance0.3669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A33A #3A4FB8
analogous
#B8643A #B8A33A #8EB83A
triadic
#B8A33A #3AB8A3 #A33AB8
tetradic
#B8A33A #3AB864 #3A4FB8 #B83A8E
square
#B8A33A #3AB864 #3A4FB8 #B83A8E
split-complementary
#B8A33A #3A8EB8 #643AB8
monochromatic
#5B511D #897A2B #B8A33A #CDBB62 #DCCF90

Accessibility & contrast

On white

2.52
#B8A33A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B8A33A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A33A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A33A#FFFFFF#000000##000000
##B8A33A1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2C
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#C6978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b8a33a;
/* rgb */ color: rgb(184, 163, 58);
/* oklch */ color: oklch(71.4% 0.125 97.8);
Tailwind
colors: {
  custom: {
    50: '#d1bd76',
    500: '#b8a33a',
    950: '#000000',
  },
}
SCSS
$custom: #b8a33a;
$custom-light: #d1bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a33a",
  "rgb": {
    "r": 184,
    "g": 163,
    "b": 58
  },
  "hsl": {
    "h": 50,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71446,
    "c": 0.12477,
    "h": 97.8
  },
  "luminance": 0.3669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8A33A

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

Preview Lab → · Contrast checker → · Palette generator →

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