#B5B72C#B5B72C

#B5B72C 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#B5B72C
RGBrgb(181, 183, 44)
HSLhsl(61, 61%, 45%)
HSVhsv(61, 76%, 72%)
CMYKcmyk(1.1%, 0%, 76%, 28.2%)
CIE-LABlab(72.14, -16.68, 65.07)
CIE-LCHlch(72.14, 67.18, 104.38°)
OKLaboklab(75.41% -0.0529 0.1424)
OKLCHoklch(75.41% 0.152 110.4)
XYZxyz(36.4455, 43.8736, 8.9310)
Luminance0.4387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B72C #2E2CB7
analogous
#B7732C #B5B72C #70B72C
triadic
#B5B72C #2CB5B7 #B72CB5
tetradic
#B5B72C #2CB773 #2E2CB7 #B72C70
square
#B5B72C #2CB773 #2E2CB7 #B72C70
split-complementary
#B5B72C #2C70B7 #732CB7
monochromatic
#535414 #848620 #B5B72C #D2D44C #DEE07E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5B72C#FFFFFF#000000##000000
##B5B72C1.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)
#C6AF06
Deuteranopia (green-blind)
#C7B338
Tritanopia (blue-blind)
#C2AB9D
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b5b72c;
/* rgb */ color: rgb(181, 183, 44);
/* oklch */ color: oklch(75.4% 0.152 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc71',
    500: '#b5b72c',
    950: '#000000',
  },
}
SCSS
$custom: #b5b72c;
$custom-light: #cfcc71;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b72c",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 60.863,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.75414,
    "c": 0.15194,
    "h": 110.4
  },
  "luminance": 0.43873
}

Semantic roles & 50–950 ramp

primary
#B5B72C
secondary
#7876C8
accent
#43E446
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B5B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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