#B8B277#B8B277

#B8B277 is a light, moderate yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.079 H 103.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B8B277
RGBrgb(184, 178, 119)
HSLhsl(54, 31%, 59%)
HSVhsv(54, 35%, 72%)
CMYKcmyk(0%, 3.3%, 35.3%, 27.8%)
CIE-LABlab(71.80, -6.85, 30.97)
CIE-LCHlch(71.80, 31.72, 102.48°)
OKLaboklab(75.45% -0.0179 0.0765)
OKLCHoklch(75.45% 0.079 103.1)
XYZxyz(39.0178, 43.3640, 23.7639)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B277 #777DB8
analogous
#B89277 #B8B277 #9EB877
triadic
#B8B277 #77B8B2 #B277B8
tetradic
#B8B277 #77B892 #777DB8 #B8779E
square
#B8B277 #77B892 #777DB8 #B8779E
split-complementary
#B8B277 #779EB8 #9277B8
monochromatic
#77713E #9F9853 #B8B277 #CDC99F #E2E0C7

Accessibility & contrast

On white

2.17
#B8B277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#B8B277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B277
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B277#FFFFFF#000000##000000
##B8B2771.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAE73
Deuteranopia (green-blind)
#BEB179
Tritanopia (blue-blind)
#C1AAA3
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b8b277;
/* rgb */ color: rgb(184, 178, 119);
/* oklch */ color: oklch(75.5% 0.079 103.1);
Tailwind
colors: {
  custom: {
    50: '#cec89f',
    500: '#b8b277',
    950: '#000000',
  },
}
SCSS
$custom: #b8b277;
$custom-light: #cec89f;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b277",
  "rgb": {
    "r": 184,
    "g": 178,
    "b": 119
  },
  "hsl": {
    "h": 54.462,
    "s": 31.401,
    "l": 59.412
  },
  "oklch": {
    "l": 0.75451,
    "c": 0.07858,
    "h": 103.1
  },
  "luminance": 0.43363
}

Semantic roles & 50–950 ramp

primary
#B8B277
secondary
#B9BBD2
accent
#6AC860
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#14130E
muted
#82827E

Preview Lab

Preview with #B8B277

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

Preview Lab → · Contrast checker → · Palette generator →

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