#B5B82D#B5B82D

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

Color values

HEX#B5B82D
RGBrgb(181, 184, 45)
HSLhsl(61, 61%, 45%)
HSVhsv(61, 76%, 72%)
CMYKcmyk(1.6%, 0%, 75.5%, 27.8%)
CIE-LABlab(72.43, -17.14, 65.01)
CIE-LCHlch(72.43, 67.24, 104.77°)
OKLaboklab(75.64% -0.0542 0.1425)
OKLCHoklch(75.64% 0.152 110.8)
XYZxyz(36.6715, 44.2952, 9.1002)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B82D #302DB8
analogous
#B8762D #B5B82D #6FB82D
triadic
#B5B82D #2DB5B8 #B82DB5
tetradic
#B5B82D #2DB876 #302DB8 #B82D6F
square
#B5B82D #2DB876 #302DB8 #B82D6F
split-complementary
#B5B82D #2D6FB8 #762DB8
monochromatic
#545615 #858721 #B5B82D #D1D44E #DEE080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B82D#FFFFFF#000000##000000
##B5B82D1.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)
#C7B009
Deuteranopia (green-blind)
#C8B339
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b82d;
/* rgb */ color: rgb(181, 184, 45);
/* oklch */ color: oklch(75.6% 0.152 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd71',
    500: '#b5b82d',
    950: '#000000',
  },
}
SCSS
$custom: #b5b82d;
$custom-light: #cfcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b82d",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 45
  },
  "hsl": {
    "h": 61.295,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75641,
    "c": 0.15241,
    "h": 110.8
  },
  "luminance": 0.44294
}

Semantic roles & 50–950 ramp

primary
#B5B82D
secondary
#7A78C9
accent
#44E447
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B82D

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

Preview Lab → · Contrast checker → · Palette generator →

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