#B5B72A#B5B72A

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

Color values

HEX#B5B72A
RGBrgb(181, 183, 42)
HSLhsl(61, 63%, 44%)
HSVhsv(61, 77%, 72%)
CMYKcmyk(1.1%, 0%, 77%, 28.2%)
CIE-LABlab(72.13, -16.76, 65.69)
CIE-LCHlch(72.13, 67.79, 104.31°)
OKLaboklab(75.4% -0.0533 0.1434)
OKLCHoklch(75.4% 0.153 110.4)
XYZxyz(36.4088, 43.8589, 8.7378)
Luminance0.4386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B72A #2C2AB7
analogous
#B7732A #B5B72A #6FB72A
triadic
#B5B72A #2AB5B7 #B72AB5
tetradic
#B5B72A #2AB773 #2C2AB7 #B72A6F
square
#B5B72A #2AB773 #2C2AB7 #B72A6F
split-complementary
#B5B72A #2A6FB7 #732AB7
monochromatic
#535313 #84851F #B5B72A #D3D549 #DFE17B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B72A#FFFFFF#000000##000000
##B5B72A1.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)
#C6AF00
Deuteranopia (green-blind)
#C7B336
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b72a;
/* rgb */ color: rgb(181, 183, 42);
/* oklch */ color: oklch(75.4% 0.153 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc70',
    500: '#b5b72a',
    950: '#000000',
  },
}
SCSS
$custom: #b5b72a;
$custom-light: #cfcc70;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b72a",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 60.851,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.75403,
    "c": 0.15295,
    "h": 110.4
  },
  "luminance": 0.43858
}

Semantic roles & 50–950 ramp

primary
#B5B72A
secondary
#7574C9
accent
#42E644
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B72A

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

Preview Lab → · Contrast checker → · Palette generator →

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