#B5B92A#B5B92A

#B5B92A is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.8% C 0.155 H 111.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#B5B92A
RGBrgb(181, 185, 42)
HSLhsl(62, 63%, 45%)
HSVhsv(62, 77%, 73%)
CMYKcmyk(2.2%, 0%, 77.3%, 27.5%)
CIE-LABlab(72.69, -17.77, 66.19)
CIE-LCHlch(72.69, 68.53, 105.03°)
OKLaboklab(75.85% -0.0561 0.1444)
OKLCHoklch(75.85% 0.155 111.2)
XYZxyz(36.8242, 44.6898, 8.8762)
Luminance0.4469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B92A #2E2AB9
analogous
#B9752A #B5B92A #6EB92A
triadic
#B5B92A #2AB5B9 #B92AB5
tetradic
#B5B92A #2AB975 #2E2AB9 #B92A6E
square
#B5B92A #2AB975 #2E2AB9 #B92A6E
split-complementary
#B5B92A #2A6EB9 #752AB9
monochromatic
#535513 #84871F #B5B92A #D2D64A #DEE17C

Accessibility & contrast

On white

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

On black

9.94
#B5B92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B92A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B92A#FFFFFF#000000##000000
##B5B92A1.002.119.949.94
#FFFFFF2.111.0021.0021.00
#0000009.9421.001.001.00
##0000009.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C9B437
Tritanopia (blue-blind)
#C2AD9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b92a;
/* rgb */ color: rgb(181, 185, 42);
/* oklch */ color: oklch(75.8% 0.155 111.2);
Tailwind
colors: {
  custom: {
    50: '#cfcd70',
    500: '#b5b92a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b92a;
$custom-light: #cfcd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b92a",
  "rgb": {
    "r": 181,
    "g": 185,
    "b": 42
  },
  "hsl": {
    "h": 61.678,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75846,
    "c": 0.15495,
    "h": 111.2
  },
  "luminance": 0.44689
}

Semantic roles & 50–950 ramp

primary
#B5B92A
secondary
#7875CA
accent
#42E646
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B92A

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

Preview Lab → · Contrast checker → · Palette generator →

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