#B5B133#B5B133

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

Color values

HEX#B5B133
RGBrgb(181, 177, 51)
HSLhsl(58, 56%, 45%)
HSVhsv(58, 72%, 71%)
CMYKcmyk(0%, 2.2%, 71.8%, 29%)
CIE-LABlab(70.53, -13.31, 61.18)
CIE-LCHlch(70.53, 62.61, 102.28°)
OKLaboklab(74.14% -0.0429 0.1354)
OKLCHoklch(74.14% 0.142 107.6)
XYZxyz(35.3771, 41.5082, 9.2797)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B133 #3337B5
analogous
#B57033 #B5B133 #78B533
triadic
#B5B133 #33B5B1 #B133B5
tetradic
#B5B133 #33B570 #3337B5 #B53378
square
#B5B133 #33B570 #3337B5 #B53378
split-complementary
#B5B133 #3378B5 #7033B5
monochromatic
#565418 #858226 #B5B133 #CFCC56 #DDDA86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B133#FFFFFF#000000##000000
##B5B1331.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)
#C0AA1C
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#C2A598
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #b5b133;
/* rgb */ color: rgb(181, 177, 51);
/* oklch */ color: oklch(74.1% 0.142 107.6);
Tailwind
colors: {
  custom: {
    50: '#cfc873',
    500: '#b5b133',
    950: '#000000',
  },
}
SCSS
$custom: #b5b133;
$custom-light: #cfc873;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b133",
  "rgb": {
    "r": 181,
    "g": 177,
    "b": 51
  },
  "hsl": {
    "h": 58.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74138,
    "c": 0.14205,
    "h": 107.6
  },
  "luminance": 0.41507
}

Semantic roles & 50–950 ramp

primary
#B5B133
secondary
#7D80C6
accent
#4DDF48
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B133

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

Preview Lab → · Contrast checker → · Palette generator →

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