#B3AB2F#B3AB2F

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

Color values

HEX#B3AB2F
RGBrgb(179, 171, 47)
HSLhsl(56, 58%, 44%)
HSVhsv(56, 74%, 70%)
CMYKcmyk(0%, 4.5%, 73.7%, 29.8%)
CIE-LABlab(68.69, -11.27, 60.79)
CIE-LCHlch(68.69, 61.82, 100.50°)
OKLaboklab(72.62% -0.0374 0.1339)
OKLCHoklch(72.62% 0.139 105.6)
XYZxyz(33.6678, 38.9160, 8.4269)
Luminance0.3891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB2F #2F37B3
analogous
#B3692F #B3AB2F #79B32F
triadic
#B3AB2F #2FB3AB #AB2FB3
tetradic
#B3AB2F #2FB369 #2F37B3 #B32F79
square
#B3AB2F #2FB369 #2F37B3 #B32F79
split-complementary
#B3AB2F #2F79B3 #692FB3
monochromatic
#524E16 #837D22 #B3AB2F #D1C94F #DDD87F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B3AB2F#FFFFFF#000000##000000
##B3AB2F1.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)
#BAA517
Deuteranopia (green-blind)
#BDAA38
Tritanopia (blue-blind)
#C09F93
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab2f;
/* rgb */ color: rgb(179, 171, 47);
/* oklch */ color: oklch(72.6% 0.139 105.6);
Tailwind
colors: {
  custom: {
    50: '#cdc371',
    500: '#b3ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab2f;
$custom-light: #cdc371;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab2f",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 56.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.72623,
    "c": 0.13906,
    "h": 105.6
  },
  "luminance": 0.38915
}

Semantic roles & 50–950 ramp

primary
#B3AB2F
secondary
#787CC6
accent
#50E246
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B3AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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