#B8B388#B8B388

#B8B388 is a light, muted yellow. Relative luminance 0.442; OKLCH L 76.0% C 0.059 H 102.1°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B8B388
RGBrgb(184, 179, 136)
HSLhsl(54, 25%, 63%)
HSVhsv(54, 26%, 72%)
CMYKcmyk(0%, 2.7%, 26.1%, 27.8%)
CIE-LABlab(72.37, -5.17, 22.66)
CIE-LCHlch(72.37, 23.24, 102.85°)
OKLaboklab(76% -0.0123 0.0573)
OKLCHoklch(76% 0.059 102.1)
XYZxyz(40.3313, 44.2088, 29.6963)
Luminance0.4421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8B388 #888DB8
analogous
#B89B88 #B8B388 #A5B888
triadic
#B8B388 #88B8B3 #B388B8
tetradic
#B8B388 #88B89B #888DB8 #B888A5
square
#B8B388 #88B89B #888DB8 #B888A5
split-complementary
#B8B388 #88A5B8 #9B88B8
monochromatic
#7C774A #A19B62 #B8B388 #CFCBAE #E6E4D5

Accessibility & contrast

On white

2.13
#B8B388 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B8B388 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8B388
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8B388#FFFFFF#000000##000000
##B8B3881.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBB085
Deuteranopia (green-blind)
#BDB38A
Tritanopia (blue-blind)
#BFADA7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b8b388;
/* rgb */ color: rgb(184, 179, 136);
/* oklch */ color: oklch(76.0% 0.059 102.1);
Tailwind
colors: {
  custom: {
    50: '#cec9ab',
    500: '#b8b388',
    950: '#000000',
  },
}
SCSS
$custom: #b8b388;
$custom-light: #cec9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#b8b388",
  "rgb": {
    "r": 184,
    "g": 179,
    "b": 136
  },
  "hsl": {
    "h": 53.75,
    "s": 25.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.75998,
    "c": 0.05857,
    "h": 102.1
  },
  "luminance": 0.44208
}

Semantic roles & 50–950 ramp

primary
#B8B388
secondary
#C5C7D7
accent
#4CA442
background
#FCFCFA
surface
#F9F8F4
border
#D2D1CE
text
#131310
muted
#82827F

Preview Lab

Preview with #B8B388

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

Preview Lab → · Contrast checker → · Palette generator →

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