#B2AB4F#B2AB4F

#B2AB4F is a light, moderate yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.114 H 104.9°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B2AB4F
RGBrgb(178, 171, 79)
HSLhsl(56, 39%, 50%)
HSVhsv(56, 56%, 70%)
CMYKcmyk(0%, 3.9%, 55.6%, 30.2%)
CIE-LABlab(68.86, -9.70, 47.47)
CIE-LCHlch(68.86, 48.45, 101.54°)
OKLaboklab(72.82% -0.0294 0.1106)
OKLCHoklch(72.82% 0.114 104.9)
XYZxyz(34.3353, 39.1564, 13.1449)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB4F #4F56B2
analogous
#B27A4F #B2AB4F #87B24F
triadic
#B2AB4F #4FB2AB #AB4FB2
tetradic
#B2AB4F #4FB27A #4F56B2 #B24F87
square
#B2AB4F #4FB27A #4F56B2 #B24F87
split-complementary
#B2AB4F #4F87B2 #7A4FB2
monochromatic
#5E5A29 #88833C #B2AB4F #C5BF7A #D7D4A4

Accessibility & contrast

On white

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

On black

8.83
#B2AB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB4F
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB4F#FFFFFF#000000##000000
##B2AB4F1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A646
Deuteranopia (green-blind)
#BBAA54
Tritanopia (blue-blind)
#BEA197
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab4f;
/* rgb */ color: rgb(178, 171, 79);
/* oklch */ color: oklch(72.8% 0.114 104.9);
Tailwind
colors: {
  custom: {
    50: '#cbc383',
    500: '#b2ab4f',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab4f;
$custom-light: #cbc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab4f",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 55.758,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.72824,
    "c": 0.11448,
    "h": 104.9
  },
  "luminance": 0.39155
}

Semantic roles & 50–950 ramp

primary
#B2AB4F
secondary
#989BC4
accent
#61CF59
background
#FCFBF8
surface
#F9F7EF
border
#D2D0CA
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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