#B5B82F#B5B82F

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

Color values

HEX#B5B82F
RGBrgb(181, 184, 47)
HSLhsl(61, 59%, 45%)
HSVhsv(61, 74%, 72%)
CMYKcmyk(1.6%, 0%, 74.5%, 27.8%)
CIE-LABlab(72.44, -17.06, 64.37)
CIE-LCHlch(72.44, 66.59, 104.84°)
OKLaboklab(75.65% -0.0537 0.1415)
OKLCHoklch(75.65% 0.151 110.8)
XYZxyz(36.7109, 44.3110, 9.3078)
Luminance0.4431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B82F #322FB8
analogous
#B8762F #B5B82F #70B82F
triadic
#B5B82F #2FB5B8 #B82FB5
tetradic
#B5B82F #2FB876 #322FB8 #B82F70
square
#B5B82F #2FB876 #322FB8 #B82F70
split-complementary
#B5B82F #2F70B8 #762FB8
monochromatic
#555716 #858723 #B5B82F #D0D352 #DDDF82

Accessibility & contrast

On white

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

On black

9.86
#B5B82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B82F
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B82F#FFFFFF#000000##000000
##B5B82F1.002.139.869.86
#FFFFFF2.131.0021.0021.00
#0000009.8621.001.001.00
##0000009.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b82f;
/* rgb */ color: rgb(181, 184, 47);
/* oklch */ color: oklch(75.7% 0.151 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd72',
    500: '#b5b82f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b82f;
$custom-light: #cfcd72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b82f",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 47
  },
  "hsl": {
    "h": 61.314,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75653,
    "c": 0.15133,
    "h": 110.8
  },
  "luminance": 0.4431
}

Semantic roles & 50–950 ramp

primary
#B5B82F
secondary
#7C7BC8
accent
#45E249
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B82F

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

Preview Lab → · Contrast checker → · Palette generator →

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