#B2AB39#B2AB39

#B2AB39 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.6% C 0.133 H 105.8°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#B2AB39
RGBrgb(178, 171, 57)
HSLhsl(57, 51%, 46%)
HSVhsv(57, 68%, 70%)
CMYKcmyk(0%, 3.9%, 68%, 30.2%)
CIE-LABlab(68.67, -11.20, 56.96)
CIE-LCHlch(68.67, 58.05, 101.12°)
OKLaboklab(72.61% -0.0362 0.1277)
OKLCHoklch(72.61% 0.133 105.8)
XYZxyz(33.6628, 38.8874, 9.6029)
Luminance0.3889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2AB39 #3940B2
analogous
#B26E39 #B2AB39 #7CB239
triadic
#B2AB39 #39B2AB #AB39B2
tetradic
#B2AB39 #39B26E #3940B2 #B2397C
square
#B2AB39 #39B26E #3940B2 #B2397C
split-complementary
#B2AB39 #397CB2 #6E39B2
monochromatic
#55521B #847E2A #B2AB39 #CBC55D #DAD58B

Accessibility & contrast

On white

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

On black

8.78
#B2AB39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2AB39
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2AB39#FFFFFF#000000##000000
##B2AB391.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A529
Deuteranopia (green-blind)
#BCAA40
Tritanopia (blue-blind)
#BFA094
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b2ab39;
/* rgb */ color: rgb(178, 171, 57);
/* oklch */ color: oklch(72.6% 0.133 105.8);
Tailwind
colors: {
  custom: {
    50: '#ccc376',
    500: '#b2ab39',
    950: '#000000',
  },
}
SCSS
$custom: #b2ab39;
$custom-light: #ccc376;
$custom-dark: #000000;
JSON
{
  "hex": "#b2ab39",
  "rgb": {
    "r": 178,
    "g": 171,
    "b": 57
  },
  "hsl": {
    "h": 56.529,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72606,
    "c": 0.13268,
    "h": 105.8
  },
  "luminance": 0.38886
}

Semantic roles & 50–950 ramp

primary
#B2AB39
secondary
#8286C4
accent
#55DB4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #B2AB39

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

Preview Lab → · Contrast checker → · Palette generator →

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