#B5A73B#B5A73B

#B5A73B is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.0% C 0.127 H 101.9°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#B5A73B
RGBrgb(181, 167, 59)
HSLhsl(53, 51%, 47%)
HSVhsv(53, 67%, 71%)
CMYKcmyk(0%, 7.7%, 67.4%, 29%)
CIE-LABlab(67.86, -7.68, 55.39)
CIE-LCHlch(67.86, 55.92, 97.90°)
OKLaboklab(72.03% -0.0262 0.1246)
OKLCHoklch(72.03% 0.127 101.9)
XYZxyz(33.6656, 37.7784, 9.6555)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A73B #3B49B5
analogous
#B56A3B #B5A73B #86B53B
triadic
#B5A73B #3BB5A7 #A73BB5
tetradic
#B5A73B #3BB56A #3B49B5 #B53B86
square
#B5A73B #3BB56A #3B49B5 #B53B86
split-complementary
#B5A73B #3B86B5 #6A3BB5
monochromatic
#59521D #877C2C #B5A73B #CCBF62 #DBD290

Accessibility & contrast

On white

2.45
#B5A73B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#B5A73B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A73B
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A73B#FFFFFF#000000##000000
##B5A73B1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A22C
Deuteranopia (green-blind)
#BAA841
Tritanopia (blue-blind)
#C39B91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a73b;
/* rgb */ color: rgb(181, 167, 59);
/* oklch */ color: oklch(72.0% 0.127 101.9);
Tailwind
colors: {
  custom: {
    50: '#cec077',
    500: '#b5a73b',
    950: '#000000',
  },
}
SCSS
$custom: #b5a73b;
$custom-light: #cec077;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a73b",
  "rgb": {
    "r": 181,
    "g": 167,
    "b": 59
  },
  "hsl": {
    "h": 53.115,
    "s": 50.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72028,
    "c": 0.12732,
    "h": 101.9
  },
  "luminance": 0.37777
}

Semantic roles & 50–950 ramp

primary
#B5A73B
secondary
#868DC6
accent
#5EDA4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A73B

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

Preview Lab → · Contrast checker → · Palette generator →

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