#B5B82C#B5B82C

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

Color values

HEX#B5B82C
RGBrgb(181, 184, 44)
HSLhsl(61, 61%, 45%)
HSVhsv(61, 76%, 72%)
CMYKcmyk(1.6%, 0%, 76.1%, 27.8%)
CIE-LABlab(72.42, -17.19, 65.33)
CIE-LCHlch(72.42, 67.55, 104.74°)
OKLaboklab(75.63% -0.0544 0.143)
OKLCHoklch(75.63% 0.153 110.8)
XYZxyz(36.6525, 44.2876, 9.0000)
Luminance0.4429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B82C #2F2CB8
analogous
#B8752C #B5B82C #6FB82C
triadic
#B5B82C #2CB5B8 #B82CB5
tetradic
#B5B82C #2CB875 #2F2CB8 #B82C6F
square
#B5B82C #2CB875 #2F2CB8 #B82C6F
split-complementary
#B5B82C #2C6FB8 #752CB8
monochromatic
#545514 #848720 #B5B82C #D1D44D #DEE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B82C#FFFFFF#000000##000000
##B5B82C1.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)
#C7B005
Deuteranopia (green-blind)
#C8B338
Tritanopia (blue-blind)
#C2AC9E
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b5b82c;
/* rgb */ color: rgb(181, 184, 44);
/* oklch */ color: oklch(75.6% 0.153 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd71',
    500: '#b5b82c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b82c;
$custom-light: #cfcd71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b82c",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 44
  },
  "hsl": {
    "h": 61.286,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.75635,
    "c": 0.15294,
    "h": 110.8
  },
  "luminance": 0.44287
}

Semantic roles & 50–950 ramp

primary
#B5B82C
secondary
#7977C9
accent
#43E547
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B82C

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

Preview Lab → · Contrast checker → · Palette generator →

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