#B3AB3F#B3AB3F

#B3AB3F is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.7% C 0.128 H 105.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#B3AB3F
RGBrgb(179, 171, 63)
HSLhsl(56, 48%, 47%)
HSVhsv(56, 65%, 70%)
CMYKcmyk(0%, 4.5%, 64.8%, 29.8%)
CIE-LABlab(68.80, -10.41, 54.64)
CIE-LCHlch(68.80, 55.63, 100.78°)
OKLaboklab(72.75% -0.0333 0.1237)
OKLCHoklch(72.75% 0.128 105.1)
XYZxyz(34.0518, 39.0696, 10.4492)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB3F #3F47B3
analogous
#B3713F #B3AB3F #81B33F
triadic
#B3AB3F #3FB3AB #AB3FB3
tetradic
#B3AB3F #3FB371 #3F47B3 #B33F81
square
#B3AB3F #3FB371 #3F47B3 #B33F81
split-complementary
#B3AB3F #3F81B3 #713FB3
monochromatic
#58551F #86802F #B3AB3F #C9C266 #D9D493

Accessibility & contrast

On white

2.38
#B3AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#B3AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB3F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB3F#FFFFFF#000000##000000
##B3AB3F1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A531
Deuteranopia (green-blind)
#BCAA45
Tritanopia (blue-blind)
#C0A095
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b3ab3f;
/* rgb */ color: rgb(179, 171, 63);
/* oklch */ color: oklch(72.7% 0.128 105.1);
Tailwind
colors: {
  custom: {
    50: '#cdc379',
    500: '#b3ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab3f;
$custom-light: #cdc379;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab3f",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 55.862,
    "s": 47.934,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72747,
    "c": 0.12813,
    "h": 105.1
  },
  "luminance": 0.39068
}

Semantic roles & 50–950 ramp

primary
#B3AB3F
secondary
#898DC4
accent
#5AD850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B3AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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