#B3AB2A#B3AB2A

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

Color values

HEX#B3AB2A
RGBrgb(179, 171, 42)
HSLhsl(56, 62%, 43%)
HSVhsv(56, 77%, 70%)
CMYKcmyk(0%, 4.5%, 76.5%, 29.8%)
CIE-LABlab(68.66, -11.48, 62.46)
CIE-LCHlch(68.66, 63.51, 100.42°)
OKLaboklab(72.59% -0.0385 0.1366)
OKLCHoklch(72.59% 0.142 105.7)
XYZxyz(33.5727, 38.8780, 7.9258)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB2A #2A32B3
analogous
#B3662A #B3AB2A #76B32A
triadic
#B3AB2A #2AB3AB #AB2AB3
tetradic
#B3AB2A #2AB366 #2A32B3 #B32A76
square
#B3AB2A #2AB366 #2A32B3 #B32A76
split-complementary
#B3AB2A #2A76B3 #662AB3
monochromatic
#504C13 #817C1E #B3AB2A #D4CB46 #DFD978

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB2A#FFFFFF#000000##000000
##B3AB2A1.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)
#BAA50A
Deuteranopia (green-blind)
#BDAA34
Tritanopia (blue-blind)
#C19F93
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b3ab2a;
/* rgb */ color: rgb(179, 171, 42);
/* oklch */ color: oklch(72.6% 0.142 105.7);
Tailwind
colors: {
  custom: {
    50: '#cec36e',
    500: '#b3ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab2a;
$custom-light: #cec36e;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab2a",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 56.496,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72592,
    "c": 0.14188,
    "h": 105.7
  },
  "luminance": 0.38877
}

Semantic roles & 50–950 ramp

primary
#B3AB2A
secondary
#7277C7
accent
#4CE543
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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