#B8A033#B8A033

#B8A033 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.8% C 0.127 H 96.4°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B8A033
RGBrgb(184, 160, 51)
HSLhsl(49, 57%, 46%)
HSVhsv(49, 72%, 72%)
CMYKcmyk(0%, 13%, 72.3%, 27.8%)
CIE-LABlab(66.19, -3.08, 57.04)
CIE-LCHlch(66.19, 57.12, 93.09°)
OKLaboklab(70.76% -0.0141 0.1266)
OKLCHoklch(70.76% 0.127 96.4)
XYZxyz(32.9372, 35.5727, 8.2627)
Luminance0.3557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8A033 #334BB8
analogous
#B85D33 #B8A033 #8DB833
triadic
#B8A033 #33B8A0 #A033B8
tetradic
#B8A033 #33B85D #334BB8 #B8338D
square
#B8A033 #33B85D #334BB8 #B8338D
split-complementary
#B8A033 #338DB8 #5D33B8
monochromatic
#584D18 #887626 #B8A033 #D1BB58 #DECE88

Accessibility & contrast

On white

2.59
#B8A033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#B8A033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8A033
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8A033#FFFFFF#000000##000000
##B8A0331.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B7A439
Tritanopia (blue-blind)
#C7948A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b8a033;
/* rgb */ color: rgb(184, 160, 51);
/* oklch */ color: oklch(70.8% 0.127 96.4);
Tailwind
colors: {
  custom: {
    50: '#d1bb72',
    500: '#b8a033',
    950: '#000000',
  },
}
SCSS
$custom: #b8a033;
$custom-light: #d1bb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b8a033",
  "rgb": {
    "r": 184,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 49.173,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70755,
    "c": 0.12734,
    "h": 96.4
  },
  "luminance": 0.35571
}

Semantic roles & 50–950 ramp

primary
#B8A033
secondary
#7F8CC8
accent
#63E048
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B8A033

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

Preview Lab → · Contrast checker → · Palette generator →

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