#B3AB31#B3AB31

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

Color values

HEX#B3AB31
RGBrgb(179, 171, 49)
HSLhsl(56, 57%, 45%)
HSVhsv(56, 73%, 70%)
CMYKcmyk(0%, 4.5%, 72.6%, 29.8%)
CIE-LABlab(68.70, -11.18, 60.08)
CIE-LCHlch(68.70, 61.11, 100.54°)
OKLaboklab(72.64% -0.037 0.1328)
OKLCHoklch(72.64% 0.138 105.6)
XYZxyz(33.7091, 38.9325, 8.6442)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB31 #3139B3
analogous
#B36A31 #B3AB31 #7AB331
triadic
#B3AB31 #31B3AB #AB31B3
tetradic
#B3AB31 #31B36A #3139B3 #B3317A
square
#B3AB31 #31B36A #3139B3 #B3317A
split-complementary
#B3AB31 #317AB3 #6A31B3
monochromatic
#534F17 #837D24 #B3AB31 #D0C852 #DDD782

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB31#FFFFFF#000000##000000
##B3AB311.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)
#BAA51B
Deuteranopia (green-blind)
#BDAA3A
Tritanopia (blue-blind)
#C09F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab31;
/* rgb */ color: rgb(179, 171, 49);
/* oklch */ color: oklch(72.6% 0.138 105.6);
Tailwind
colors: {
  custom: {
    50: '#cdc372',
    500: '#b3ab31',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab31;
$custom-light: #cdc372;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab31",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 49
  },
  "hsl": {
    "h": 56.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72636,
    "c": 0.13786,
    "h": 105.6
  },
  "luminance": 0.38931
}

Semantic roles & 50–950 ramp

primary
#B3AB31
secondary
#7A7FC6
accent
#51E048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB31

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

Preview Lab → · Contrast checker → · Palette generator →

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