#B3AB36#B3AB36

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

Color values

HEX#B3AB36
RGBrgb(179, 171, 54)
HSLhsl(56, 54%, 46%)
HSVhsv(56, 70%, 70%)
CMYKcmyk(0%, 4.5%, 69.8%, 29.8%)
CIE-LABlab(68.73, -10.93, 58.23)
CIE-LCHlch(68.73, 59.25, 100.63°)
OKLaboklab(72.67% -0.0358 0.1298)
OKLCHoklch(72.67% 0.135 105.4)
XYZxyz(33.8205, 38.9771, 9.2311)
Luminance0.3898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB36 #363EB3
analogous
#B36C36 #B3AB36 #7CB336
triadic
#B3AB36 #36B3AB #AB36B3
tetradic
#B3AB36 #36B36C #363EB3 #B3367C
square
#B3AB36 #36B36C #363EB3 #B3367C
split-complementary
#B3AB36 #367CB3 #6C36B3
monochromatic
#55511A #847E28 #B3AB36 #CDC659 #DBD688

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB36#FFFFFF#000000##000000
##B3AB361.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)
#BAA524
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#C0A094
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab36;
/* rgb */ color: rgb(179, 171, 54);
/* oklch */ color: oklch(72.7% 0.135 105.4);
Tailwind
colors: {
  custom: {
    50: '#cdc374',
    500: '#b3ab36',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab36;
$custom-light: #cdc374;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab36",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 54
  },
  "hsl": {
    "h": 56.16,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.13464,
    "h": 105.4
  },
  "luminance": 0.38976
}

Semantic roles & 50–950 ramp

primary
#B3AB36
secondary
#8084C5
accent
#54DD4B
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B3AB36

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

Preview Lab → · Contrast checker → · Palette generator →

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