#B3AB48#B3AB48

#B3AB48 is a light, vivid yellow. Relative luminance 0.392; OKLCH L 72.8% C 0.121 H 104.7°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#B3AB48
RGBrgb(179, 171, 72)
HSLhsl(56, 43%, 49%)
HSVhsv(56, 60%, 70%)
CMYKcmyk(0%, 4.5%, 59.8%, 29.8%)
CIE-LABlab(68.88, -9.80, 50.77)
CIE-LCHlch(68.88, 51.70, 100.93°)
OKLaboklab(72.84% -0.0306 0.1168)
OKLCHoklch(72.84% 0.121 104.7)
XYZxyz(34.3242, 39.1786, 11.8838)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB48 #4850B3
analogous
#B37648 #B3AB48 #86B348
triadic
#B3AB48 #48B3AB #AB48B3
tetradic
#B3AB48 #48B376 #4850B3 #B34886
square
#B3AB48 #48B376 #4850B3 #B34886
split-complementary
#B3AB48 #4886B3 #7648B3
monochromatic
#5C5825 #878136 #B3AB48 #C6C072 #D8D39E

Accessibility & contrast

On white

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

On black

8.84
#B3AB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB48
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB48#FFFFFF#000000##000000
##B3AB481.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A53D
Deuteranopia (green-blind)
#BCAA4D
Tritanopia (blue-blind)
#BFA096
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab48;
/* rgb */ color: rgb(179, 171, 72);
/* oklch */ color: oklch(72.8% 0.121 104.7);
Tailwind
colors: {
  custom: {
    50: '#ccc37f',
    500: '#b3ab48',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab48;
$custom-light: #ccc37f;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab48",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 72
  },
  "hsl": {
    "h": 55.514,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.12074,
    "h": 104.7
  },
  "luminance": 0.39177
}

Semantic roles & 50–950 ramp

primary
#B3AB48
secondary
#9296C4
accent
#5FD255
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B3AB48

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

Preview Lab → · Contrast checker → · Palette generator →

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