#B5B772#B5B772

#B5B772 is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.2% C 0.091 H 109.8°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#B5B772
RGBrgb(181, 183, 114)
HSLhsl(62, 32%, 58%)
HSVhsv(62, 38%, 72%)
CMYKcmyk(1.1%, 0%, 37.7%, 28.2%)
CIE-LABlab(72.83, -11.26, 34.86)
CIE-LCHlch(72.83, 36.64, 107.89°)
OKLaboklab(76.18% -0.0307 0.0853)
OKLCHoklch(76.18% 0.091 109.8)
XYZxyz(39.0272, 44.9063, 22.5282)
Luminance0.4491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5B772 #7472B7
analogous
#B79672 #B5B772 #92B772
triadic
#B5B772 #72B5B7 #B772B5
tetradic
#B5B772 #72B796 #7472B7 #B77292
square
#B5B772 #72B796 #7472B7 #B77292
split-complementary
#B5B772 #7292B7 #9672B7
monochromatic
#72743B #9A9C50 #B5B772 #CACC9B #E0E0C3

Accessibility & contrast

On white

2.10
#B5B772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#B5B772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B5B772
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5B772#FFFFFF#000000##000000
##B5B7721.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B16D
Deuteranopia (green-blind)
#C2B475
Tritanopia (blue-blind)
#BEAFA6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b5b772;
/* rgb */ color: rgb(181, 183, 114);
/* oklch */ color: oklch(76.2% 0.091 109.8);
Tailwind
colors: {
  custom: {
    50: '#cccc9b',
    500: '#b5b772',
    950: '#000000',
  },
}
SCSS
$custom: #b5b772;
$custom-light: #cccc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b5b772",
  "rgb": {
    "r": 181,
    "g": 183,
    "b": 114
  },
  "hsl": {
    "h": 61.739,
    "s": 32.394,
    "l": 58.235
  },
  "oklch": {
    "l": 0.76183,
    "c": 0.09069,
    "h": 109.8
  },
  "luminance": 0.44906
}

Semantic roles & 50–950 ramp

primary
#B5B772
secondary
#B5B5D0
accent
#5FC962
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B5B772

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

Preview Lab → · Contrast checker → · Palette generator →

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