#B5B72B#B5B72B

#B5B72B is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.4% C 0.152 H 110.4°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#B5B72B
RGBrgb(181, 183, 43)
HSLhsl(61, 62%, 44%)
HSVhsv(61, 77%, 72%)
CMYKcmyk(1.1%, 0%, 76.5%, 28.2%)
CIE-LABlab(72.14, -16.72, 65.38)
CIE-LCHlch(72.14, 67.49, 104.35°)
OKLaboklab(75.41% -0.0531 0.1429)
OKLCHoklch(75.41% 0.152 110.4)
XYZxyz(36.4269, 43.8662, 8.8332)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B72B #2D2BB7
analogous
#B7732B #B5B72B #6FB72B
triadic
#B5B72B #2BB5B7 #B72BB5
tetradic
#B5B72B #2BB773 #2D2BB7 #B72B6F
square
#B5B72B #2BB773 #2D2BB7 #B72B6F
split-complementary
#B5B72B #2B6FB7 #732BB7
monochromatic
#535414 #84851F #B5B72B #D3D54B #DFE07C

Accessibility & contrast

On white

2.15
#B5B72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.77
#B5B72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B72B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B72B#FFFFFF#000000##000000
##B5B72B1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF03
Deuteranopia (green-blind)
#C7B337
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b72b;
/* rgb */ color: rgb(181, 183, 43);
/* oklch */ color: oklch(75.4% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc70',
    500: '#b5b72b',
    950: '#000000',
  },
}
SCSS
$custom: #b5b72b;
$custom-light: #cfcc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b72b",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 43
  },
  "hsl": {
    "h": 60.857,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.75409,
    "c": 0.15245,
    "h": 110.4
  },
  "luminance": 0.43865
}

Semantic roles & 50–950 ramp

primary
#B5B72B
secondary
#7675C9
accent
#43E545
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B72B

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

Preview Lab → · Contrast checker → · Palette generator →

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