#B3AB3A#B3AB3A

#B3AB3A is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.7% C 0.132 H 105.3°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#B3AB3A
RGBrgb(179, 171, 58)
HSLhsl(56, 51%, 46%)
HSVhsv(56, 68%, 70%)
CMYKcmyk(0%, 4.5%, 67.6%, 29.8%)
CIE-LABlab(68.76, -10.71, 56.68)
CIE-LCHlch(68.76, 57.68, 100.70°)
OKLaboklab(72.7% -0.0347 0.1272)
OKLCHoklch(72.7% 0.132 105.3)
XYZxyz(33.9183, 39.0162, 9.7464)
Luminance0.3901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB3A #3A42B3
analogous
#B36F3A #B3AB3A #7FB33A
triadic
#B3AB3A #3AB3AB #AB3AB3
tetradic
#B3AB3A #3AB36F #3A42B3 #B33A7F
square
#B3AB3A #3AB36F #3A42B3 #B33A7F
split-complementary
#B3AB3A #3A7FB3 #6F3AB3
monochromatic
#57531C #857F2B #B3AB3A #CBC45F #DAD58D

Accessibility & contrast

On white

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

On black

8.80
#B3AB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB3A
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB3A#FFFFFF#000000##000000
##B3AB3A1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA52A
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab3a;
/* rgb */ color: rgb(179, 171, 58);
/* oklch */ color: oklch(72.7% 0.132 105.3);
Tailwind
colors: {
  custom: {
    50: '#cdc377',
    500: '#b3ab3a',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab3a;
$custom-light: #cdc377;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab3a",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 56.033,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72704,
    "c": 0.13187,
    "h": 105.3
  },
  "luminance": 0.39015
}

Semantic roles & 50–950 ramp

primary
#B3AB3A
secondary
#8488C5
accent
#57DB4D
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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