#B2B298#B2B298

#B2B298 is a light, muted yellow. Relative luminance 0.436; OKLCH L 75.6% C 0.036 H 107.2°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B2B298
RGBrgb(178, 178, 152)
HSLhsl(60, 14%, 65%)
HSVhsv(60, 15%, 70%)
CMYKcmyk(0%, 0%, 14.6%, 30.2%)
CIE-LABlab(71.94, -4.53, 13.32)
CIE-LCHlch(71.94, 14.07, 108.78°)
OKLaboklab(75.65% -0.0107 0.0344)
OKLCHoklch(75.65% 0.036 107.2)
XYZxyz(39.9475, 43.5731, 36.0057)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B298 #9898B2
analogous
#B2A598 #B2B298 #A5B298
triadic
#B2B298 #98B2B2 #B298B2
tetradic
#B2B298 #98B2A5 #9898B2 #B298A5
square
#B2B298 #98B2A5 #9898B2 #B298A5
split-complementary
#B2B298 #98A5B2 #A598B2
monochromatic
#777759 #989875 #B2B298 #CCCCBB #E6E6DE

Accessibility & contrast

On white

2.16
#B2B298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B2B298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B298
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B298#FFFFFF#000000##000000
##B2B2981.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7B096
Deuteranopia (green-blind)
#B7B199
Tritanopia (blue-blind)
#B6AEAB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b298;
/* rgb */ color: rgb(178, 178, 152);
/* oklch */ color: oklch(75.6% 0.036 107.2);
Tailwind
colors: {
  custom: {
    50: '#c9c9b6',
    500: '#b2b298',
    950: '#000000',
  },
}
SCSS
$custom: #b2b298;
$custom-light: #c9c9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b298",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 152
  },
  "hsl": {
    "h": 60,
    "s": 14.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.7565,
    "c": 0.036,
    "h": 107.2
  },
  "luminance": 0.43573
}

Semantic roles & 50–950 ramp

primary
#B2B298
secondary
#CECED7
accent
#4D994D
background
#FCFCFB
surface
#F8F8F6
border
#D1D1D0
text
#131311
muted
#828280

Preview Lab

Preview with #B2B298

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

Preview Lab → · Contrast checker → · Palette generator →

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