#B5B72F#B5B72F

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

Color values

HEX#B5B72F
RGBrgb(181, 183, 47)
HSLhsl(61, 59%, 45%)
HSVhsv(61, 74%, 72%)
CMYKcmyk(1.1%, 0%, 74.3%, 28.2%)
CIE-LABlab(72.16, -16.55, 64.11)
CIE-LCHlch(72.16, 66.22, 104.48°)
OKLaboklab(75.43% -0.0523 0.1409)
OKLCHoklch(75.43% 0.15 110.4)
XYZxyz(36.5039, 43.8970, 9.2388)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B72F #312FB7
analogous
#B7752F #B5B72F #71B72F
triadic
#B5B72F #2FB5B7 #B72FB5
tetradic
#B5B72F #2FB775 #312FB7 #B72F71
square
#B5B72F #2FB775 #312FB7 #B72F71
split-complementary
#B5B72F #2F71B7 #752FB7
monochromatic
#555616 #858622 #B5B72F #D0D251 #DDDF82

Accessibility & contrast

On white

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

On black

9.78
#B5B72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B72F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B72F#FFFFFF#000000##000000
##B5B72F1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5b72f;
/* rgb */ color: rgb(181, 183, 47);
/* oklch */ color: oklch(75.4% 0.150 110.4);
Tailwind
colors: {
  custom: {
    50: '#cfcc72',
    500: '#b5b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b5b72f;
$custom-light: #cfcc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b72f",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 60.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.75432,
    "c": 0.15032,
    "h": 110.4
  },
  "luminance": 0.43896
}

Semantic roles & 50–950 ramp

primary
#B5B72F
secondary
#7B7AC8
accent
#45E248
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B5B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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