#B3AB40#B3AB40

#B3AB40 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.127 H 105.0°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B3AB40
RGBrgb(179, 171, 64)
HSLhsl(56, 47%, 48%)
HSVhsv(56, 64%, 70%)
CMYKcmyk(0%, 4.5%, 64.2%, 29.8%)
CIE-LABlab(68.81, -10.35, 54.23)
CIE-LCHlch(68.81, 55.20, 100.80°)
OKLaboklab(72.76% -0.033 0.123)
OKLCHoklch(72.76% 0.127 105)
XYZxyz(34.0800, 39.0809, 10.5977)
Luminance0.3908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB40 #4048B3
analogous
#B37140 #B3AB40 #81B340
triadic
#B3AB40 #40B3AB #AB40B3
tetradic
#B3AB40 #40B371 #4048B3 #B34081
square
#B3AB40 #40B371 #4048B3 #B34081
split-complementary
#B3AB40 #4081B3 #7140B3
monochromatic
#595520 #868030 #B3AB40 #C9C267 #D9D494

Accessibility & contrast

On white

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

On black

8.82
#B3AB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB40
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB40#FFFFFF#000000##000000
##B3AB401.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#C0A095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab40;
/* rgb */ color: rgb(179, 171, 64);
/* oklch */ color: oklch(72.8% 0.127 105.0);
Tailwind
colors: {
  custom: {
    50: '#cdc37a',
    500: '#b3ab40',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab40;
$custom-light: #cdc37a;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab40",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 64
  },
  "hsl": {
    "h": 55.826,
    "s": 47.325,
    "l": 47.647
  },
  "oklch": {
    "l": 0.72756,
    "c": 0.12735,
    "h": 105
  },
  "luminance": 0.3908
}

Semantic roles & 50–950 ramp

primary
#B3AB40
secondary
#8A8EC4
accent
#5AD751
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3AB40

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

Preview Lab → · Contrast checker → · Palette generator →

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