#B5A733#B5A733

#B5A733 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.0% C 0.133 H 102.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B5A733
RGBrgb(181, 167, 51)
HSLhsl(54, 56%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 7.7%, 71.8%, 29%)
CIE-LABlab(67.80, -8.11, 58.52)
CIE-LCHlch(67.80, 59.08, 97.89°)
OKLaboklab(71.97% -0.0282 0.1298)
OKLCHoklch(71.97% 0.133 102.3)
XYZxyz(33.4738, 37.7016, 8.6453)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A733 #3341B5
analogous
#B56633 #B5A733 #82B533
triadic
#B5A733 #33B5A7 #A733B5
tetradic
#B5A733 #33B566 #3341B5 #B53382
square
#B5A733 #33B566 #3341B5 #B53382
split-complementary
#B5A733 #3382B5 #6633B5
monochromatic
#564F18 #857B26 #B5A733 #CFC256 #DDD386

Accessibility & contrast

On white

2.46
#B5A733 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B5A733 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A733
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A733#FFFFFF#000000##000000
##B5A7331.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A220
Deuteranopia (green-blind)
#BBA83B
Tritanopia (blue-blind)
#C39B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a733;
/* rgb */ color: rgb(181, 167, 51);
/* oklch */ color: oklch(72.0% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#cfc072',
    500: '#b5a733',
    950: '#000000',
  },
}
SCSS
$custom: #b5a733;
$custom-light: #cfc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a733",
  "rgb": {
    "r": 181,
    "g": 167,
    "b": 51
  },
  "hsl": {
    "h": 53.538,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71965,
    "c": 0.13284,
    "h": 102.3
  },
  "luminance": 0.377
}

Semantic roles & 50–950 ramp

primary
#B5A733
secondary
#7D85C6
accent
#59DF48
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A733

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

Preview Lab → · Contrast checker → · Palette generator →

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