#B5A732#B5A732

#B5A732 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#B5A732
RGBrgb(181, 167, 50)
HSLhsl(54, 57%, 45%)
HSVhsv(54, 72%, 71%)
CMYKcmyk(0%, 7.7%, 72.4%, 29%)
CIE-LABlab(67.79, -8.16, 58.89)
CIE-LCHlch(67.79, 59.46, 97.89°)
OKLaboklab(71.96% -0.0285 0.1304)
OKLCHoklch(71.96% 0.133 102.3)
XYZxyz(33.4520, 37.6929, 8.5304)
Luminance0.3769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A732 #3240B5
analogous
#B56632 #B5A732 #81B532
triadic
#B5A732 #32B5A7 #A732B5
tetradic
#B5A732 #32B566 #3240B5 #B53281
square
#B5A732 #32B566 #3240B5 #B53281
split-complementary
#B5A732 #3281B5 #6632B5
monochromatic
#554F18 #857B25 #B5A732 #D0C354 #DDD484

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A732#FFFFFF#000000##000000
##B5A7321.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)
#B6A21E
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#C39B90
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a732;
/* rgb */ color: rgb(181, 167, 50);
/* oklch */ color: oklch(72.0% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#cfc072',
    500: '#b5a732',
    950: '#000000',
  },
}
SCSS
$custom: #b5a732;
$custom-light: #cfc072;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a732",
  "rgb": {
    "r": 181,
    "g": 167,
    "b": 50
  },
  "hsl": {
    "h": 53.588,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.13349,
    "h": 102.3
  },
  "luminance": 0.37691
}

Semantic roles & 50–950 ramp

primary
#B5A732
secondary
#7C84C7
accent
#58E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B5A732

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

Preview Lab → · Contrast checker → · Palette generator →

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