#B5B82A#B5B82A

#B5B82A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.6% C 0.154 H 110.8°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#B5B82A
RGBrgb(181, 184, 42)
HSLhsl(61, 63%, 44%)
HSVhsv(61, 77%, 72%)
CMYKcmyk(1.6%, 0%, 77.2%, 27.8%)
CIE-LABlab(72.41, -17.27, 65.94)
CIE-LCHlch(72.41, 68.16, 104.67°)
OKLaboklab(75.62% -0.0547 0.1439)
OKLCHoklch(75.62% 0.154 110.8)
XYZxyz(36.6158, 44.2729, 8.8068)
Luminance0.4427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B82A #2D2AB8
analogous
#B8742A #B5B82A #6EB82A
triadic
#B5B82A #2AB5B8 #B82AB5
tetradic
#B5B82A #2AB874 #2D2AB8 #B82A6E
square
#B5B82A #2AB874 #2D2AB8 #B82A6E
split-complementary
#B5B82A #2A6EB8 #742AB8
monochromatic
#535413 #84861F #B5B82A #D3D64A #DFE17B

Accessibility & contrast

On white

2.13
#B5B82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.85
#B5B82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B82A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B82A#FFFFFF#000000##000000
##B5B82A1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C8B337
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b82a;
/* rgb */ color: rgb(181, 184, 42);
/* oklch */ color: oklch(75.6% 0.154 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd70',
    500: '#b5b82a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b82a;
$custom-light: #cfcd70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b82a",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 42
  },
  "hsl": {
    "h": 61.268,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75624,
    "c": 0.15395,
    "h": 110.8
  },
  "luminance": 0.44272
}

Semantic roles & 50–950 ramp

primary
#B5B82A
secondary
#7675C9
accent
#42E645
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B82A

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

Preview Lab → · Contrast checker → · Palette generator →

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