#B8A733#B8A733

#B8A733 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.2% C 0.133 H 100.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B8A733
RGBrgb(184, 167, 51)
HSLhsl(52, 57%, 46%)
HSVhsv(52, 72%, 72%)
CMYKcmyk(0%, 9.2%, 72.3%, 27.8%)
CIE-LABlab(68.07, -6.80, 58.88)
CIE-LCHlch(68.07, 59.27, 96.58°)
OKLaboklab(72.24% -0.0247 0.1305)
OKLCHoklch(72.24% 0.133 100.7)
XYZxyz(34.1850, 38.0684, 8.6786)
Luminance0.3807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A733 #3344B8
analogous
#B86433 #B8A733 #86B833
triadic
#B8A733 #33B8A7 #A733B8
tetradic
#B8A733 #33B864 #3344B8 #B83386
square
#B8A733 #33B864 #3344B8 #B83386
split-complementary
#B8A733 #3386B8 #6433B8
monochromatic
#585018 #887C26 #B8A733 #D1C158 #DED388

Accessibility & contrast

On white

2.44
#B8A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B8A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A733
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A733#FFFFFF#000000##000000
##B8A7331.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A220
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#C69B90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b8a733;
/* rgb */ color: rgb(184, 167, 51);
/* oklch */ color: oklch(72.2% 0.133 100.7);
Tailwind
colors: {
  custom: {
    50: '#d1c072',
    500: '#b8a733',
    950: '#000000',
  },
}
SCSS
$custom: #b8a733;
$custom-light: #d1c072;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a733",
  "rgb": {
    "r": 184,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 52.331,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72244,
    "c": 0.13277,
    "h": 100.7
  },
  "luminance": 0.38067
}

Semantic roles & 50–950 ramp

primary
#B8A733
secondary
#7F88C8
accent
#5BE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B8A733

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

Preview Lab → · Contrast checker → · Palette generator →

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