#B5A73F#B5A73F

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

Color values

HEX#B5A73F
RGBrgb(181, 167, 63)
HSLhsl(53, 48%, 48%)
HSVhsv(53, 65%, 71%)
CMYKcmyk(0%, 7.7%, 65.2%, 29%)
CIE-LABlab(67.89, -7.44, 53.74)
CIE-LCHlch(67.89, 54.25, 97.89°)
OKLaboklab(72.06% -0.025 0.1217)
OKLCHoklch(72.06% 0.124 101.6)
XYZxyz(33.7733, 37.8215, 10.2229)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5A73F #3F4DB5
analogous
#B56C3F #B5A73F #88B53F
triadic
#B5A73F #3FB5A7 #A73FB5
tetradic
#B5A73F #3FB56C #3F4DB5 #B53F88
square
#B5A73F #3FB56C #3F4DB5 #B53F88
split-complementary
#B5A73F #3F88B5 #6C3FB5
monochromatic
#5A531F #887D2F #B5A73F #CABE67 #DAD294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5A73F#FFFFFF#000000##000000
##B5A73F1.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)
#B6A232
Deuteranopia (green-blind)
#BAA845
Tritanopia (blue-blind)
#C29C91
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b5a73f;
/* rgb */ color: rgb(181, 167, 63);
/* oklch */ color: oklch(72.1% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#cec079',
    500: '#b5a73f',
    950: '#000000',
  },
}
SCSS
$custom: #b5a73f;
$custom-light: #cec079;
$custom-dark: #000000;
JSON
{
  "hex": "#b5a73f",
  "rgb": {
    "r": 181,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 52.881,
    "s": 48.361,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72063,
    "c": 0.12429,
    "h": 101.6
  },
  "luminance": 0.3782
}

Semantic roles & 50–950 ramp

primary
#B5A73F
secondary
#8A91C5
accent
#60D850
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B5A73F

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

Preview Lab → · Contrast checker → · Palette generator →

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