#B2AB4B#B2AB4B

#B2AB4B is a light, moderate yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.118 H 105.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B2AB4B
RGBrgb(178, 171, 75)
HSLhsl(56, 41%, 50%)
HSVhsv(56, 58%, 70%)
CMYKcmyk(0%, 3.9%, 57.9%, 30.2%)
CIE-LABlab(68.82, -10.01, 49.30)
CIE-LCHlch(68.82, 50.31, 101.48°)
OKLaboklab(72.78% -0.0308 0.1141)
OKLCHoklch(72.78% 0.118 105.1)
XYZxyz(34.1941, 39.0999, 12.4011)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB4B #4B52B2
analogous
#B2774B #B2AB4B #86B24B
triadic
#B2AB4B #4BB2AB #AB4BB2
tetradic
#B2AB4B #4BB277 #4B52B2 #B24B86
square
#B2AB4B #4BB277 #4B52B2 #B24B86
split-complementary
#B2AB4B #4B86B2 #774BB2
monochromatic
#5C5827 #878239 #B2AB4B #C5C075 #D7D3A0

Accessibility & contrast

On white

2.38
#B2AB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B2AB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB4B
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB4B#FFFFFF#000000##000000
##B2AB4B1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A541
Deuteranopia (green-blind)
#BBAA50
Tritanopia (blue-blind)
#BEA196
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab4b;
/* rgb */ color: rgb(178, 171, 75);
/* oklch */ color: oklch(72.8% 0.118 105.1);
Tailwind
colors: {
  custom: {
    50: '#cbc381',
    500: '#b2ab4b',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab4b;
$custom-light: #cbc381;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab4b",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 55.922,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72778,
    "c": 0.11816,
    "h": 105.1
  },
  "luminance": 0.39099
}

Semantic roles & 50–950 ramp

primary
#B2AB4B
secondary
#9598C4
accent
#5FD157
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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