#B5B832#B5B832

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

Color values

HEX#B5B832
RGBrgb(181, 184, 50)
HSLhsl(61, 57%, 46%)
HSVhsv(61, 73%, 72%)
CMYKcmyk(1.6%, 0%, 72.8%, 27.8%)
CIE-LABlab(72.45, -16.92, 63.37)
CIE-LCHlch(72.45, 65.59, 104.95°)
OKLaboklab(75.67% -0.0531 0.1399)
OKLCHoklch(75.67% 0.15 110.8)
XYZxyz(36.7735, 44.3360, 9.6376)
Luminance0.4434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B832 #3532B8
analogous
#B87832 #B5B832 #72B832
triadic
#B5B832 #32B5B8 #B832B5
tetradic
#B5B832 #32B878 #3532B8 #B83272
square
#B5B832 #32B878 #3532B8 #B83272
split-complementary
#B5B832 #3272B8 #7832B8
monochromatic
#565818 #868825 #B5B832 #CED156 #DCDE86

Accessibility & contrast

On white

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

On black

9.87
#B5B832 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B832
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B832#FFFFFF#000000##000000
##B5B8321.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b832;
/* rgb */ color: rgb(181, 184, 50);
/* oklch */ color: oklch(75.7% 0.150 110.8);
Tailwind
colors: {
  custom: {
    50: '#cfcd74',
    500: '#b5b832',
    950: '#000000',
  },
}
SCSS
$custom: #b5b832;
$custom-light: #cfcd74;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b832",
  "rgb": {
    "r": 181,
    "g": 184,
    "b": 50
  },
  "hsl": {
    "h": 61.343,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.75671,
    "c": 0.14962,
    "h": 110.8
  },
  "luminance": 0.44335
}

Semantic roles & 50–950 ramp

primary
#B5B832
secondary
#807EC8
accent
#47E14B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B832

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

Preview Lab → · Contrast checker → · Palette generator →

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