#B4B87F#B4B87F

#B4B87F is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.5% C 0.076 H 111.4°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#B4B87F
RGBrgb(180, 184, 127)
HSLhsl(64, 29%, 61%)
HSVhsv(64, 31%, 72%)
CMYKcmyk(2.2%, 0%, 31%, 27.8%)
CIE-LABlab(73.23, -10.57, 28.56)
CIE-LCHlch(73.23, 30.46, 110.30°)
OKLaboklab(76.55% -0.028 0.0712)
OKLCHoklch(76.55% 0.076 111.4)
XYZxyz(39.7937, 45.5171, 26.7639)
Luminance0.4552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B87F #837FB8
analogous
#B89F7F #B4B87F #97B87F
triadic
#B4B87F #7FB4B8 #B87FB4
tetradic
#B4B87F #7FB89F #837FB8 #B87F97
square
#B4B87F #7FB89F #837FB8 #B87F97
split-complementary
#B4B87F #7F97B8 #9F7FB8
monochromatic
#767943 #9CA159 #B4B87F #CBCEA6 #E2E4CE

Accessibility & contrast

On white

2.08
#B4B87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.10
#B4B87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B87F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B87F#FFFFFF#000000##000000
##B4B87F1.002.0810.1010.10
#FFFFFF2.081.0021.0021.00
#00000010.1021.001.001.00
##00000010.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B37B
Deuteranopia (green-blind)
#C1B581
Tritanopia (blue-blind)
#BBB1A9
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4b87f;
/* rgb */ color: rgb(180, 184, 127);
/* oklch */ color: oklch(76.5% 0.076 111.4);
Tailwind
colors: {
  custom: {
    50: '#cbcda4',
    500: '#b4b87f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b87f;
$custom-light: #cbcda4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b87f",
  "rgb": {
    "r": 180,
    "g": 184,
    "b": 127
  },
  "hsl": {
    "h": 64.211,
    "s": 28.643,
    "l": 60.98
  },
  "oklch": {
    "l": 0.7655,
    "c": 0.07647,
    "h": 111.4
  },
  "luminance": 0.45517
}

Semantic roles & 50–950 ramp

primary
#B4B87F
secondary
#C0BFD4
accent
#3EA746
background
#FCFCFA
surface
#F8F9F4
border
#D1D2CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B4B87F

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

Preview Lab → · Contrast checker → · Palette generator →

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