#B4B47F#B4B47F

#B4B47F is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.7% C 0.071 H 108.0°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#B4B47F
RGBrgb(180, 180, 127)
HSLhsl(60, 26%, 60%)
HSVhsv(60, 29%, 71%)
CMYKcmyk(0%, 0%, 29.4%, 29.4%)
CIE-LABlab(72.15, -8.48, 27.12)
CIE-LCHlch(72.15, 28.42, 107.36°)
OKLaboklab(75.69% -0.022 0.0678)
OKLCHoklch(75.69% 0.071 108)
XYZxyz(38.9746, 43.8787, 26.4909)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B47F #7F7FB4
analogous
#B4997F #B4B47F #99B47F
triadic
#B4B47F #7FB4B4 #B47FB4
tetradic
#B4B47F #7FB499 #7F7FB4 #B47F99
square
#B4B47F #7FB499 #7F7FB4 #B47F99
split-complementary
#B4B47F #7F99B4 #997FB4
monochromatic
#747444 #9B9B5B #B4B47F #CBCBA6 #E1E1CC

Accessibility & contrast

On white

2.15
#B4B47F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#B4B47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B47F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B47F#FFFFFF#000000##000000
##B4B47F1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDB07B
Deuteranopia (green-blind)
#BEB281
Tritanopia (blue-blind)
#BCADA6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b47f;
/* rgb */ color: rgb(180, 180, 127);
/* oklch */ color: oklch(75.7% 0.071 108.0);
Tailwind
colors: {
  custom: {
    50: '#cbcaa4',
    500: '#b4b47f',
    950: '#000000',
  },
}
SCSS
$custom: #b4b47f;
$custom-light: #cbcaa4;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b47f",
  "rgb": {
    "r": 180,
    "g": 180,
    "b": 127
  },
  "hsl": {
    "h": 60,
    "s": 26.108,
    "l": 60.196
  },
  "oklch": {
    "l": 0.7569,
    "c": 0.07125,
    "h": 108
  },
  "luminance": 0.43878
}

Semantic roles & 50–950 ramp

primary
#B4B47F
secondary
#BDBDD2
accent
#41A541
background
#FCFCFA
surface
#F8F8F4
border
#D1D1CE
text
#13130F
muted
#82827F

Preview Lab

Preview with #B4B47F

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

Preview Lab → · Contrast checker → · Palette generator →

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