#B4B298#B4B298

#B4B298 is a light, muted yellow. Relative luminance 0.438; OKLCH L 75.8% C 0.036 H 103.6°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#B4B298
RGBrgb(180, 178, 152)
HSLhsl(56, 16%, 65%)
HSVhsv(56, 16%, 71%)
CMYKcmyk(0%, 1.1%, 15.6%, 29.4%)
CIE-LABlab(72.10, -3.78, 13.57)
CIE-LCHlch(72.10, 14.09, 105.57°)
OKLaboklab(75.82% -0.0085 0.035)
OKLCHoklch(75.82% 0.036 103.6)
XYZxyz(40.4098, 43.8115, 36.0273)
Luminance0.4381 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4B298 #989AB4
analogous
#B4A498 #B4B298 #A8B498
triadic
#B4B298 #98B4B2 #B298B4
tetradic
#B4B298 #98B4A4 #989AB4 #B498A8
square
#B4B298 #98B4A4 #989AB4 #B498A8
split-complementary
#B4B298 #98A8B4 #A498B4
monochromatic
#797758 #9A9875 #B4B298 #CECCBB #E8E7DF

Accessibility & contrast

On white

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

On black

9.76
#B4B298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4B298
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4B298#FFFFFF#000000##000000
##B4B2981.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7B096
Deuteranopia (green-blind)
#B8B199
Tritanopia (blue-blind)
#B9AEAB
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b4b298;
/* rgb */ color: rgb(180, 178, 152);
/* oklch */ color: oklch(75.8% 0.036 103.6);
Tailwind
colors: {
  custom: {
    50: '#cac9b6',
    500: '#b4b298',
    950: '#000000',
  },
}
SCSS
$custom: #b4b298;
$custom-light: #cac9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b4b298",
  "rgb": {
    "r": 180,
    "g": 178,
    "b": 152
  },
  "hsl": {
    "h": 55.714,
    "s": 15.73,
    "l": 65.098
  },
  "oklch": {
    "l": 0.75816,
    "c": 0.03602,
    "h": 103.6
  },
  "luminance": 0.43811
}

Semantic roles & 50–950 ramp

primary
#B4B298
secondary
#CFD0D9
accent
#519A4C
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #B4B298

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

Preview Lab → · Contrast checker → · Palette generator →

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