#B2AB56#B2AB56

#B2AB56 is a light, moderate yellow. Relative luminance 0.393; OKLCH L 72.9% C 0.108 H 104.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#B2AB56
RGBrgb(178, 171, 86)
HSLhsl(55, 37%, 52%)
HSVhsv(55, 52%, 70%)
CMYKcmyk(0%, 3.9%, 51.7%, 30.2%)
CIE-LABlab(68.94, -9.10, 44.18)
CIE-LCHlch(68.94, 45.11, 101.64°)
OKLaboklab(72.91% -0.027 0.1042)
OKLCHoklch(72.91% 0.108 104.5)
XYZxyz(34.6037, 39.2637, 14.5582)
Luminance0.3926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB56 #565DB2
analogous
#B27D56 #B2AB56 #8BB256
triadic
#B2AB56 #56B2AB #AB56B2
tetradic
#B2AB56 #56B27D #565DB2 #B2568B
square
#B2AB56 #56B27D #565DB2 #B2568B
split-complementary
#B2AB56 #568BB2 #7D56B2
monochromatic
#615D2C #8B863F #B2AB56 #C5C080 #D8D5AA

Accessibility & contrast

On white

2.37
#B2AB56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#B2AB56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB56
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB56#FFFFFF#000000##000000
##B2AB561.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64E
Deuteranopia (green-blind)
#BAAA5A
Tritanopia (blue-blind)
#BDA198
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab56;
/* rgb */ color: rgb(178, 171, 86);
/* oklch */ color: oklch(72.9% 0.108 104.5);
Tailwind
colors: {
  custom: {
    50: '#cbc388',
    500: '#b2ab56',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab56;
$custom-light: #cbc388;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab56",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 86
  },
  "hsl": {
    "h": 55.435,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7291,
    "c": 0.10767,
    "h": 104.5
  },
  "luminance": 0.39263
}

Semantic roles & 50–950 ramp

primary
#B2AB56
secondary
#9EA1C6
accent
#63CD5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AB56

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

Preview Lab → · Contrast checker → · Palette generator →

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