#B2AB44#B2AB44

#B2AB44 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.124 H 105.4°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B2AB44
RGBrgb(178, 171, 68)
HSLhsl(56, 45%, 48%)
HSVhsv(56, 62%, 70%)
CMYKcmyk(0%, 3.9%, 61.8%, 30.2%)
CIE-LABlab(68.76, -10.51, 52.40)
CIE-LCHlch(68.76, 53.45, 101.34°)
OKLaboklab(72.71% -0.033 0.1198)
OKLCHoklch(72.71% 0.124 105.4)
XYZxyz(33.9676, 39.0093, 11.2080)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB44 #444BB2
analogous
#B27444 #B2AB44 #82B244
triadic
#B2AB44 #44B2AB #AB44B2
tetradic
#B2AB44 #44B274 #444BB2 #B24482
square
#B2AB44 #44B274 #444BB2 #B24482
split-complementary
#B2AB44 #4482B2 #7444B2
monochromatic
#595622 #868033 #B2AB44 #C7C16C #D8D499

Accessibility & contrast

On white

2.39
#B2AB44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#B2AB44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB44
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB44#FFFFFF#000000##000000
##B2AB441.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A538
Deuteranopia (green-blind)
#BCAA4A
Tritanopia (blue-blind)
#BEA095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab44;
/* rgb */ color: rgb(178, 171, 68);
/* oklch */ color: oklch(72.7% 0.124 105.4);
Tailwind
colors: {
  custom: {
    50: '#ccc37c',
    500: '#b2ab44',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab44;
$custom-light: #ccc37c;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab44",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 68
  },
  "hsl": {
    "h": 56.182,
    "s": 44.715,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72705,
    "c": 0.12422,
    "h": 105.4
  },
  "luminance": 0.39008
}

Semantic roles & 50–950 ramp

primary
#B2AB44
secondary
#8E91C4
accent
#5CD453
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AB44

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

Preview Lab → · Contrast checker → · Palette generator →

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