#B2AB41#B2AB41

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

Color values

HEX#B2AB41
RGBrgb(178, 171, 65)
HSLhsl(56, 47%, 48%)
HSVhsv(56, 63%, 70%)
CMYKcmyk(0%, 3.9%, 63.5%, 30.2%)
CIE-LABlab(68.73, -10.71, 53.69)
CIE-LCHlch(68.73, 54.75, 101.28°)
OKLaboklab(72.68% -0.0339 0.122)
OKLCHoklch(72.68% 0.127 105.5)
XYZxyz(33.8783, 38.9736, 10.7381)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB41 #4148B2
analogous
#B27241 #B2AB41 #81B241
triadic
#B2AB41 #41B2AB #AB41B2
tetradic
#B2AB41 #41B272 #4148B2 #B24181
square
#B2AB41 #41B272 #4148B2 #B24181
split-complementary
#B2AB41 #4181B2 #7241B2
monochromatic
#585520 #858031 #B2AB41 #C8C268 #D8D495

Accessibility & contrast

On white

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

On black

8.79
#B2AB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB41
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB41#FFFFFF#000000##000000
##B2AB411.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A534
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#BFA095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b2ab41;
/* rgb */ color: rgb(178, 171, 65);
/* oklch */ color: oklch(72.7% 0.127 105.5);
Tailwind
colors: {
  custom: {
    50: '#ccc37b',
    500: '#b2ab41',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab41;
$custom-light: #ccc37b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab41",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 56.283,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72676,
    "c": 0.12665,
    "h": 105.5
  },
  "luminance": 0.38972
}

Semantic roles & 50–950 ramp

primary
#B2AB41
secondary
#8B8EC4
accent
#5AD652
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B2AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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