#B3AB45#B3AB45

#B3AB45 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.8% C 0.123 H 104.8°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#B3AB45
RGBrgb(179, 171, 69)
HSLhsl(56, 44%, 49%)
HSVhsv(56, 61%, 70%)
CMYKcmyk(0%, 4.5%, 61.5%, 29.8%)
CIE-LABlab(68.85, -10.01, 52.09)
CIE-LCHlch(68.85, 53.04, 100.88°)
OKLaboklab(72.8% -0.0315 0.1192)
OKLCHoklch(72.8% 0.123 104.8)
XYZxyz(34.2287, 39.1404, 11.3809)
Luminance0.3914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3AB45 #454DB3
analogous
#B37445 #B3AB45 #84B345
triadic
#B3AB45 #45B3AB #AB45B3
tetradic
#B3AB45 #45B374 #454DB3 #B34584
square
#B3AB45 #45B374 #454DB3 #B34584
split-complementary
#B3AB45 #4584B3 #7445B3
monochromatic
#5B5723 #878134 #B3AB45 #C7C16E #D8D49A

Accessibility & contrast

On white

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

On black

8.83
#B3AB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3AB45
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3AB45#FFFFFF#000000##000000
##B3AB451.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b3ab45;
/* rgb */ color: rgb(179, 171, 69);
/* oklch */ color: oklch(72.8% 0.123 104.8);
Tailwind
colors: {
  custom: {
    50: '#ccc37d',
    500: '#b3ab45',
    950: '#000000',
  },
}
SCSS
$custom: #b3ab45;
$custom-light: #ccc37d;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ab45",
  "rgb": {
    "r": 179,
    "g": 171,
    "b": 69
  },
  "hsl": {
    "h": 55.636,
    "s": 44.355,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72804,
    "c": 0.12329,
    "h": 104.8
  },
  "luminance": 0.39139
}

Semantic roles & 50–950 ramp

primary
#B3AB45
secondary
#8F93C4
accent
#5DD454
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#14120A
muted
#82817C

Preview Lab

Preview with #B3AB45

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

Preview Lab → · Contrast checker → · Palette generator →

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