#B5B93A#B5B93A

#B5B93A is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.9% C 0.146 H 111.2°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#B5B93A
RGBrgb(181, 185, 58)
HSLhsl(62, 52%, 48%)
HSVhsv(62, 69%, 73%)
CMYKcmyk(2.2%, 0%, 68.6%, 27.5%)
CIE-LABlab(72.78, -17.03, 60.78)
CIE-LCHlch(72.78, 63.12, 105.65°)
OKLaboklab(75.95% -0.0526 0.1358)
OKLCHoklch(75.95% 0.146 111.2)
XYZxyz(37.1699, 44.8281, 10.6968)
Luminance0.4483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B93A #3E3AB9
analogous
#B97E3A #B5B93A #75B93A
triadic
#B5B93A #3AB5B9 #B93AB5
tetradic
#B5B93A #3AB97E #3E3AB9 #B93A75
square
#B5B93A #3AB97E #3E3AB9 #B93A75
split-complementary
#B5B93A #3A75B9 #7E3AB9
monochromatic
#5A5C1D #878A2B #B5B93A #CACE62 #DADC91

Accessibility & contrast

On white

2.11
#B5B93A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#B5B93A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B93A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B93A#FFFFFF#000000##000000
##B5B93A1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B126
Deuteranopia (green-blind)
#C8B443
Tritanopia (blue-blind)
#C1AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5b93a;
/* rgb */ color: rgb(181, 185, 58);
/* oklch */ color: oklch(75.9% 0.146 111.2);
Tailwind
colors: {
  custom: {
    50: '#cecd78',
    500: '#b5b93a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b93a;
$custom-light: #cecd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b93a",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 58
  },
  "hsl": {
    "h": 61.89,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.75948,
    "c": 0.14564,
    "h": 111.2
  },
  "luminance": 0.44827
}

Semantic roles & 50–950 ramp

primary
#B5B93A
secondary
#8987C7
accent
#4CDC51
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B93A

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

Preview Lab → · Contrast checker → · Palette generator →

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