#B5A73A#B5A73A

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

Color values

HEX#B5A73A
RGBrgb(181, 167, 58)
HSLhsl(53, 51%, 47%)
HSVhsv(53, 68%, 71%)
CMYKcmyk(0%, 7.7%, 68%, 29%)
CIE-LABlab(67.85, -7.74, 55.80)
CIE-LCHlch(67.85, 56.33, 97.90°)
OKLaboklab(72.02% -0.0264 0.1253)
OKLCHoklch(72.02% 0.128 101.9)
XYZxyz(33.6399, 37.7681, 9.5202)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A73A #3A48B5
analogous
#B56A3A #B5A73A #86B53A
triadic
#B5A73A #3AB5A7 #A73AB5
tetradic
#B5A73A #3AB56A #3A48B5 #B53A86
square
#B5A73A #3AB56A #3A48B5 #B53A86
split-complementary
#B5A73A #3A86B5 #6A3AB5
monochromatic
#58511C #877C2B #B5A73A #CCC060 #DBD28E

Accessibility & contrast

On white

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

On black

8.55
#B5A73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5A73A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5A73A#FFFFFF#000000##000000
##B5A73A1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5a73a;
/* rgb */ color: rgb(181, 167, 58);
/* oklch */ color: oklch(72.0% 0.128 101.9);
Tailwind
colors: {
  custom: {
    50: '#cec076',
    500: '#b5a73a',
    950: '#000000',
  },
}
SCSS
$custom: #b5a73a;
$custom-light: #cec076;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a73a",
  "rgb": {
    "r": 181,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 53.171,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.72019,
    "c": 0.12805,
    "h": 101.9
  },
  "luminance": 0.37767
}

Semantic roles & 50–950 ramp

primary
#B5A73A
secondary
#858CC6
accent
#5DDB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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