#B2AB4E#B2AB4E

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

Color values

HEX#B2AB4E
RGBrgb(178, 171, 78)
HSLhsl(56, 39%, 50%)
HSVhsv(56, 56%, 70%)
CMYKcmyk(0%, 3.9%, 56.2%, 30.2%)
CIE-LABlab(68.85, -9.78, 47.93)
CIE-LCHlch(68.85, 48.92, 101.53°)
OKLaboklab(72.81% -0.0298 0.1115)
OKLCHoklch(72.81% 0.115 104.9)
XYZxyz(34.2992, 39.1420, 12.9547)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB4E #4E55B2
analogous
#B2794E #B2AB4E #87B24E
triadic
#B2AB4E #4EB2AB #AB4EB2
tetradic
#B2AB4E #4EB279 #4E55B2 #B24E87
square
#B2AB4E #4EB279 #4E55B2 #B24E87
split-complementary
#B2AB4E #4E87B2 #794EB2
monochromatic
#5D5929 #88823B #B2AB4E #C5BF79 #D7D3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AB4E#FFFFFF#000000##000000
##B2AB4E1.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)
#B8A545
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#BEA196
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab4e;
/* rgb */ color: rgb(178, 171, 78);
/* oklch */ color: oklch(72.8% 0.115 104.9);
Tailwind
colors: {
  custom: {
    50: '#cbc383',
    500: '#b2ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab4e;
$custom-light: #cbc383;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab4e",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 55.8,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.72812,
    "c": 0.11541,
    "h": 104.9
  },
  "luminance": 0.39141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B2AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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