#B8B772#B8B772

#B8B772 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.4% C 0.090 H 107.6°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#B8B772
RGBrgb(184, 183, 114)
HSLhsl(59, 33%, 58%)
HSVhsv(59, 38%, 72%)
CMYKcmyk(0%, 0.5%, 38%, 27.8%)
CIE-LABlab(73.07, -10.05, 35.22)
CIE-LCHlch(73.07, 36.63, 105.93°)
OKLaboklab(76.43% -0.0274 0.0861)
OKLCHoklch(76.43% 0.09 107.6)
XYZxyz(39.7384, 45.2730, 22.5615)
Luminance0.4527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B772 #7273B8
analogous
#B89472 #B8B772 #96B872
triadic
#B8B772 #72B8B7 #B772B8
tetradic
#B8B772 #72B894 #7273B8 #B87296
square
#B8B772 #72B894 #7273B8 #B87296
split-complementary
#B8B772 #7296B8 #9472B8
monochromatic
#75743B #9D9C4F #B8B772 #CCCC9B #E1E1C3

Accessibility & contrast

On white

2.09
#B8B772 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#B8B772 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B772
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B772#FFFFFF#000000##000000
##B8B7721.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2B26D
Deuteranopia (green-blind)
#C3B575
Tritanopia (blue-blind)
#C1AFA6
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b8b772;
/* rgb */ color: rgb(184, 183, 114);
/* oklch */ color: oklch(76.4% 0.090 107.6);
Tailwind
colors: {
  custom: {
    50: '#cecc9b',
    500: '#b8b772',
    950: '#000000',
  },
}
SCSS
$custom: #b8b772;
$custom-light: #cecc9b;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b772",
  "rgb": {
    "r": 184,
    "g": 183,
    "b": 114
  },
  "hsl": {
    "h": 59.143,
    "s": 33.019,
    "l": 58.431
  },
  "oklch": {
    "l": 0.76433,
    "c": 0.09037,
    "h": 107.6
  },
  "luminance": 0.45272
}

Semantic roles & 50–950 ramp

primary
#B8B772
secondary
#B5B5D1
accent
#60C95F
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B8B772

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

Preview Lab → · Contrast checker → · Palette generator →

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