#B5A033#B5A033

#B5A033 is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.5% C 0.127 H 98.0°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#B5A033
RGBrgb(181, 160, 51)
HSLhsl(50, 56%, 45%)
HSVhsv(50, 72%, 71%)
CMYKcmyk(0%, 11.6%, 71.8%, 29%)
CIE-LABlab(65.91, -4.40, 56.66)
CIE-LCHlch(65.91, 56.83, 94.44°)
OKLaboklab(70.46% -0.0177 0.1259)
OKLCHoklch(70.46% 0.127 98)
XYZxyz(32.2260, 35.2060, 8.2293)
Luminance0.3520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A033 #3348B5
analogous
#B55F33 #B5A033 #89B533
triadic
#B5A033 #33B5A0 #A033B5
tetradic
#B5A033 #33B55F #3348B5 #B53389
square
#B5A033 #33B55F #3348B5 #B53389
split-complementary
#B5A033 #3389B5 #5F33B5
monochromatic
#564C18 #857626 #B5A033 #CFBC56 #DDCF86

Accessibility & contrast

On white

2.61
#B5A033 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#B5A033 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A033
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A033#FFFFFF#000000##000000
##B5A0331.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C22
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#C3948A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b5a033;
/* rgb */ color: rgb(181, 160, 51);
/* oklch */ color: oklch(70.5% 0.127 98.0);
Tailwind
colors: {
  custom: {
    50: '#cfbb72',
    500: '#b5a033',
    950: '#000000',
  },
}
SCSS
$custom: #b5a033;
$custom-light: #cfbb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a033",
  "rgb": {
    "r": 181,
    "g": 160,
    "b": 51
  },
  "hsl": {
    "h": 50.308,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70464,
    "c": 0.12711,
    "h": 98
  },
  "luminance": 0.35204
}

Semantic roles & 50–950 ramp

primary
#B5A033
secondary
#7D89C6
accent
#61DF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B5A033

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

Preview Lab → · Contrast checker → · Palette generator →

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