#B4B277#B4B277

#B4B277 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.079 H 106.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#B4B277
RGBrgb(180, 178, 119)
HSLhsl(58, 29%, 59%)
HSVhsv(58, 34%, 71%)
CMYKcmyk(0%, 1.1%, 33.9%, 29.4%)
CIE-LABlab(71.47, -8.45, 30.47)
CIE-LCHlch(71.47, 31.62, 105.50°)
OKLaboklab(75.11% -0.0223 0.0754)
OKLCHoklch(75.11% 0.079 106.5)
XYZxyz(38.0729, 42.8767, 23.7196)
Luminance0.4288 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B277 #7779B4
analogous
#B49377 #B4B277 #97B477
triadic
#B4B277 #77B4B2 #B277B4
tetradic
#B4B277 #77B493 #7779B4 #B47797
square
#B4B277 #77B493 #7779B4 #B47797
split-complementary
#B4B277 #7797B4 #9377B4
monochromatic
#72703F #999755 #B4B277 #CAC89E #E0DFC6

Accessibility & contrast

On white

2.19
#B4B277 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#B4B277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B277
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B277#FFFFFF#000000##000000
##B4B2771.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCAE73
Deuteranopia (green-blind)
#BDB079
Tritanopia (blue-blind)
#BDABA3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b4b277;
/* rgb */ color: rgb(180, 178, 119);
/* oklch */ color: oklch(75.1% 0.079 106.5);
Tailwind
colors: {
  custom: {
    50: '#cbc89f',
    500: '#b4b277',
    950: '#000000',
  },
}
SCSS
$custom: #b4b277;
$custom-light: #cbc89f;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b277",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 119
  },
  "hsl": {
    "h": 58.033,
    "s": 28.91,
    "l": 58.627
  },
  "oklch": {
    "l": 0.75109,
    "c": 0.07862,
    "h": 106.5
  },
  "luminance": 0.42876
}

Semantic roles & 50–950 ramp

primary
#B4B277
secondary
#B7B8CF
accent
#66C563
background
#FCFCF9
surface
#F9F8F2
border
#D2D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #B4B277

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

Preview Lab → · Contrast checker → · Palette generator →

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