#B2AB49#B2AB49

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

Color values

HEX#B2AB49
RGBrgb(178, 171, 73)
HSLhsl(56, 42%, 49%)
HSVhsv(56, 59%, 70%)
CMYKcmyk(0%, 3.9%, 59%, 30.2%)
CIE-LABlab(68.80, -10.16, 50.20)
CIE-LCHlch(68.80, 51.22, 101.44°)
OKLaboklab(72.76% -0.0314 0.1158)
OKLCHoklch(72.76% 0.12 105.2)
XYZxyz(34.1267, 39.0730, 12.0462)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB49 #4950B2
analogous
#B27749 #B2AB49 #85B249
triadic
#B2AB49 #49B2AB #AB49B2
tetradic
#B2AB49 #49B277 #4950B2 #B24985
square
#B2AB49 #49B277 #4950B2 #B24985
split-complementary
#B2AB49 #4985B2 #7749B2
monochromatic
#5B5825 #878137 #B2AB49 #C5C073 #D7D39E

Accessibility & contrast

On white

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

On black

8.81
#B2AB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB49
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB49#FFFFFF#000000##000000
##B2AB491.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b2ab49;
/* rgb */ color: rgb(178, 171, 73);
/* oklch */ color: oklch(72.8% 0.120 105.2);
Tailwind
colors: {
  custom: {
    50: '#cbc37f',
    500: '#b2ab49',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab49;
$custom-light: #cbc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab49",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 73
  },
  "hsl": {
    "h": 56,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.11994,
    "h": 105.2
  },
  "luminance": 0.39072
}

Semantic roles & 50–950 ramp

primary
#B2AB49
secondary
#9396C4
accent
#5ED256
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AB49

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

Preview Lab → · Contrast checker → · Palette generator →

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