#B5B132#B5B132

#B5B132 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.1% C 0.143 H 107.6°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#B5B132
RGBrgb(181, 177, 50)
HSLhsl(58, 57%, 45%)
HSVhsv(58, 72%, 71%)
CMYKcmyk(0%, 2.2%, 72.4%, 29%)
CIE-LABlab(70.52, -13.36, 61.53)
CIE-LCHlch(70.52, 62.96, 102.25°)
OKLaboklab(74.13% -0.0431 0.136)
OKLCHoklch(74.13% 0.143 107.6)
XYZxyz(35.3553, 41.4995, 9.1648)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B132 #3236B5
analogous
#B56F32 #B5B132 #77B532
triadic
#B5B132 #32B5B1 #B132B5
tetradic
#B5B132 #32B56F #3236B5 #B53277
square
#B5B132 #32B56F #3236B5 #B53277
split-complementary
#B5B132 #3277B5 #6F32B5
monochromatic
#555318 #858225 #B5B132 #D0CC54 #DDDA84

Accessibility & contrast

On white

2.26
#B5B132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#B5B132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B132
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B132#FFFFFF#000000##000000
##B5B1321.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1A
Deuteranopia (green-blind)
#C2AF3B
Tritanopia (blue-blind)
#C2A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b132;
/* rgb */ color: rgb(181, 177, 50);
/* oklch */ color: oklch(74.1% 0.143 107.6);
Tailwind
colors: {
  custom: {
    50: '#cfc873',
    500: '#b5b132',
    950: '#000000',
  },
}
SCSS
$custom: #b5b132;
$custom-light: #cfc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b132",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 58.168,
    "s": 56.71,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74131,
    "c": 0.14266,
    "h": 107.6
  },
  "luminance": 0.41498
}

Semantic roles & 50–950 ramp

primary
#B5B132
secondary
#7C7FC7
accent
#4CE048
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B132

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

Preview Lab → · Contrast checker → · Palette generator →

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