#B2AB54#B2AB54

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

Color values

HEX#B2AB54
RGBrgb(178, 171, 84)
HSLhsl(56, 38%, 51%)
HSVhsv(56, 53%, 70%)
CMYKcmyk(0%, 3.9%, 52.8%, 30.2%)
CIE-LABlab(68.92, -9.28, 45.13)
CIE-LCHlch(68.92, 46.08, 101.62°)
OKLaboklab(72.89% -0.0277 0.1061)
OKLCHoklch(72.89% 0.11 104.6)
XYZxyz(34.5242, 39.2320, 14.1397)
Luminance0.3923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB54 #545BB2
analogous
#B27C54 #B2AB54 #8AB254
triadic
#B2AB54 #54B2AB #AB54B2
tetradic
#B2AB54 #54B27C #545BB2 #B2548A
square
#B2AB54 #54B27C #545BB2 #B2548A
split-complementary
#B2AB54 #548AB2 #7C54B2
monochromatic
#605C2B #8A853E #B2AB54 #C5C07E #D8D4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2AB54#FFFFFF#000000##000000
##B2AB541.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)
#B8A64C
Deuteranopia (green-blind)
#BAAA58
Tritanopia (blue-blind)
#BDA197
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab54;
/* rgb */ color: rgb(178, 171, 84);
/* oklch */ color: oklch(72.9% 0.110 104.6);
Tailwind
colors: {
  custom: {
    50: '#cbc386',
    500: '#b2ab54',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab54;
$custom-light: #cbc386;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab54",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 84
  },
  "hsl": {
    "h": 55.532,
    "s": 37.903,
    "l": 51.373
  },
  "oklch": {
    "l": 0.72885,
    "c": 0.10966,
    "h": 104.6
  },
  "luminance": 0.39231
}

Semantic roles & 50–950 ramp

primary
#B2AB54
secondary
#9C9FC6
accent
#63CE5A
background
#FCFBF8
surface
#F9F7F0
border
#D2D0CB
text
#14120B
muted
#82817C

Preview Lab

Preview with #B2AB54

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

Preview Lab → · Contrast checker → · Palette generator →

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